mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
wayland: pack booleans in the “pending” configure struct
This commit is contained in:
parent
a6456911e7
commit
77186d16e8
1 changed files with 7 additions and 7 deletions
14
wayland.h
14
wayland.h
|
|
@ -378,15 +378,15 @@ struct wl_window {
|
||||||
bool is_tiled_right;
|
bool is_tiled_right;
|
||||||
bool is_tiled; /* At least one of is_tiled_{top,bottom,left,right} is true */
|
bool is_tiled; /* At least one of is_tiled_{top,bottom,left,right} is true */
|
||||||
struct {
|
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 width;
|
||||||
int height;
|
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;
|
} configure;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue