From 818b2176ef52a13867905d3d3e0269dc1b4d6fb4 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 17 Feb 2022 09:58:47 +0000 Subject: Add a window-resized hook which is fired when the window is actually resized which may be later than the client resize, GitHub issue 2995. --- resize.c | 1 + 1 file changed, 1 insertion(+) (limited to 'resize.c') diff --git a/resize.c b/resize.c index 18a02adb..457fee0a 100644 --- a/resize.c +++ b/resize.c @@ -61,6 +61,7 @@ resize_window(struct window *w, u_int sx, u_int sy, int xpixel, int ypixel) tty_update_window_offset(w); server_redraw_window(w); notify_window("window-layout-changed", w); + notify_window("window-resized", w); w->flags &= ~WINDOW_RESIZE; } -- cgit v1.2.3