mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
window: Store tile mode as MetaTileMode
An unnecessary memory optimization, storing the tile mode as a 2 bit unsigned integer, was used. While saving a few bytes, it made debugging harder. Remove the useless byte packing.
This commit is contained in:
parent
f31cf0c3ef
commit
5fc07fcc23
@ -215,7 +215,8 @@ struct _MetaWindow
|
|||||||
guint minimize_after_placement : 1;
|
guint minimize_after_placement : 1;
|
||||||
|
|
||||||
/* The current tile mode */
|
/* The current tile mode */
|
||||||
guint tile_mode : 2;
|
MetaTileMode tile_mode;
|
||||||
|
|
||||||
/* The last "full" maximized/unmaximized state. We need to keep track of
|
/* The last "full" maximized/unmaximized state. We need to keep track of
|
||||||
* that to toggle between normal/tiled or maximized/tiled states. */
|
* that to toggle between normal/tiled or maximized/tiled states. */
|
||||||
guint saved_maximize : 1;
|
guint saved_maximize : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user