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:
Jonas Ådahl 2018-10-24 11:54:44 +02:00
parent f31cf0c3ef
commit 5fc07fcc23

View File

@ -215,7 +215,8 @@ struct _MetaWindow
guint minimize_after_placement : 1;
/* The current tile mode */
guint tile_mode : 2;
MetaTileMode tile_mode;
/* The last "full" maximized/unmaximized state. We need to keep track of
* that to toggle between normal/tiled or maximized/tiled states. */
guint saved_maximize : 1;