diff options
author | nicm <nicm> | 2022-02-17 09:58:47 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-02-17 09:58:47 +0000 |
commit | 818b2176ef52a13867905d3d3e0269dc1b4d6fb4 (patch) | |
tree | 8612d1af5aae8daee20b5c26b753abdf35ee3b27 /resize.c | |
parent | 0027ee13a089efe7d1db1a4cfedb9b801635ded8 (diff) |
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.
Diffstat (limited to 'resize.c')
-rw-r--r-- | resize.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |