diff options
author | nicm <nicm> | 2022-02-17 09:58:47 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:49 +0100 |
commit | 4893edd5d67e80e8d4323f6cae02495a7164e3f0 (patch) | |
tree | ebc277f5ec554d6503b560c48131714420824348 /resize.c | |
parent | 6a0a783c268b00df165b115d915b628e36a0f69b (diff) | |
download | rtmux-4893edd5d67e80e8d4323f6cae02495a7164e3f0.tar.gz rtmux-4893edd5d67e80e8d4323f6cae02495a7164e3f0.tar.bz2 rtmux-4893edd5d67e80e8d4323f6cae02495a7164e3f0.zip |
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; } |