aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-06-30 17:44:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-19 04:54:32 +0000
commit38461eef6f3b612277bf48e49b9cc6c3b79e25bb (patch)
treef73114e3853bbd55c717b0555724d353f6839b16 /render.c
parentwayland: #ifdef guard code related to wl_shm_release() (diff)
csi: in-band window resize notifications, private mode 2048
This implements https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83, in-band window resize notifications. When user enables private mode 2048 (in-band resize notifications), *always* send current size, even if the mode is already active. This ensures applications can rely on getting a reply from the terminal.
Diffstat (limited to 'render.c')
-rw-r--r--render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/render.c b/render.c
index 53c8c90e..ef135b53 100644
--- a/render.c
+++ b/render.c
@@ -4072,6 +4072,8 @@ tiocswinsz(struct terminal *term)
{
LOG_ERRNO("TIOCSWINSZ");
}
+
+ term_send_size_notification(term);
}
}