wayland: pack booleans in the “pending” configure struct

This commit is contained in:
Daniel Eklöf 2021-01-10 15:17:19 +01:00
parent a6456911e7
commit 77186d16e8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;
};