aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-26 19:32:04 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-26 19:32:04 +0000
commitc1675af1038eedf96ac3782afd03465b31f74fd6 (patch)
tree61f6d9d365f2e9c33ba361a83019aefd187c22cf /wayland.h
parentMerge branch 'search-extend-to-word-boundary-handle-composed-chars' (diff)
parentconfig: promote tweak.resize-delay-ms to a real, supported option (diff)
Merge branch 'delay-tiocswinsz-on-interactive-resize'
Closes #283 Closes #301
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/wayland.h b/wayland.h
index 5ebc8a7e..b849249e 100644
--- a/wayland.h
+++ b/wayland.h
@@ -372,22 +372,26 @@ struct wl_window {
bool is_configured;
bool is_fullscreen;
bool is_maximized;
+ bool is_resizing;
bool is_tiled_top;
bool is_tiled_bottom;
bool is_tiled_left;
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;
+ 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;
+
+ int resize_timeout_fd;
};
struct config;