aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-11 17:45:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-26 18:32:06 +0000
commit6876ab6bc21fab00ba8b6d97e26bcb2ed567bd18 (patch)
tree4713e8756e56f1862e4c5c3b075f9caf34c966ab
parentwayland: force a resize on the final configure event after an interactive resize (diff)
wayland: pending ‘configure’ flags: use ’bool’ in bit-fields
-rw-r--r--wayland.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/wayland.h b/wayland.h
index 8546d856..d77e776b 100644
--- a/wayland.h
+++ b/wayland.h
@@ -381,14 +381,14 @@ struct wl_window {
struct {
int width;
int height;
- uint8_t is_activated:1;
- uint8_t is_fullscreen:1;
- uint8_t is_maximized:1;
- uint8_t is_resizing: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;
+ bool is_activated:1;
+ bool is_fullscreen:1;
+ bool is_maximized:1;
+ bool is_resizing:1;
+ bool is_tiled_top:1;
+ bool is_tiled_bottom:1;
+ bool is_tiled_left:1;
+ bool is_tiled_right:1;
} configure;
};