Merge branch 'obsd-master' into master

pull/3079/head
Thomas Adam 2022-02-17 12:01:10 +00:00
commit 88d9a8fc05
2 changed files with 2 additions and 0 deletions

View File

@ -1245,6 +1245,7 @@ const struct options_table_entry options_table[] = {
OPTIONS_TABLE_HOOK("window-linked", ""),
OPTIONS_TABLE_WINDOW_HOOK("window-pane-changed", ""),
OPTIONS_TABLE_WINDOW_HOOK("window-renamed", ""),
OPTIONS_TABLE_WINDOW_HOOK("window-resized", ""),
OPTIONS_TABLE_HOOK("window-unlinked", ""),
{ .name = NULL }

View File

@ -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;
}