diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-10 14:17:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-26 18:32:06 +0000 |
| commit | 77186d16e8f1cf0e1035cbc34a5436c7a5533cf5 (patch) | |
| tree | e5c5378689c29ad8ed7fa4b5373b70655d429e5b | |
| parent | Merge branch 'strip-control-characters-from-pasted-text' (diff) | |
wayland: pack booleans in the “pending” configure struct
| -rw-r--r-- | wayland.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -378,15 +378,15 @@ struct wl_window { bool is_tiled_right; bool is_tiled; /* At least one of is_tiled_{top,bottom,left,right} is true */ struct { - bool is_activated; - bool is_fullscreen; - bool is_maximized; - bool is_tiled_top; - bool is_tiled_bottom; - bool is_tiled_left; - bool is_tiled_right; int width; int height; + uint8_t is_activated:1; + uint8_t is_fullscreen:1; + uint8_t is_maximized:1; + uint8_t is_tiled_top:1; + uint8_t is_tiled_bottom:1; + uint8_t is_tiled_left:1; + uint8_t is_tiled_right:1; } configure; }; |
