mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 16:27:03 +00:00
Sync OpenBSD patchset 1069:
Add notify hooks for various events, the functions are currently empty stubs but will be filled in for control mode later. From George Nachman.
This commit is contained in:
2
layout.c
2
layout.c
@ -483,6 +483,7 @@ layout_resize_pane(struct window_pane *wp, enum layout_type type, int change)
|
||||
/* Fix cell offsets. */
|
||||
layout_fix_offsets(wp->window->layout_root);
|
||||
layout_fix_panes(wp->window, wp->window->sx, wp->window->sy);
|
||||
notify_window_layout_changed(wp->window);
|
||||
}
|
||||
|
||||
void
|
||||
@ -742,4 +743,5 @@ layout_close_pane(struct window_pane *wp)
|
||||
layout_fix_offsets(wp->window->layout_root);
|
||||
layout_fix_panes(wp->window, wp->window->sx, wp->window->sy);
|
||||
}
|
||||
notify_window_layout_changed(wp->window);
|
||||
}
|
||||
|
Reference in New Issue
Block a user