aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-17 15:12:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-26 18:32:06 +0000
commit9a1df7bb036cffbef206a3f2dbe46559b6f15d89 (patch)
tree3b0a25ebae76e86c6247d5946455e8a75b9fdb54 /config.h
parentwayland: 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 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index 1c349f2a..6dadb1a4 100644
--- a/config.h
+++ b/config.h
@@ -203,6 +203,7 @@ struct config {
uint64_t delayed_render_upper_ns;
off_t max_shm_pool_size;
float box_drawing_base_thickness;
+ uint16_t resize_delay_ms;
} tweak;
user_notifications_t notifications;