diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-17 15:12:54 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-26 18:32:06 +0000 |
| commit | 9a1df7bb036cffbef206a3f2dbe46559b6f15d89 (patch) | |
| tree | 3b0a25ebae76e86c6247d5946455e8a75b9fdb54 /wayland.h | |
| parent | wayland: pending ‘configure’ flags: use ’bool’ in bit-fields (diff) | |
render: delay TIOCSWINSZ while doing an interactive resize
Instead of disabling content centering, delay the TIOCSWINSZ (a.k.a
delay sending the new dimensions to the client) by a small amount
while doing an interactive resize.
Non-interactive resizes are still immediate.
For now, force a resize when the user stops the interactive
resize. This ensures the client application receives the new
dimensions immediately.
It still works without the last, forced, resize, but there typically
be a small delay until the client application receives the final
dimensions.
Closes #301
Closes #283
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -390,6 +390,8 @@ struct wl_window { bool is_tiled_left:1; bool is_tiled_right:1; } configure; + + int resize_timeout_fd; }; struct config; |
