From 46210344a62b079ff61435b978da41a0f92caf3a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 17 Mar 2012 22:35:09 +0000 Subject: Add notify hooks for various events, the functions are currently empty stubs but will be filled in for control mode later. From George Nachman. --- layout.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layout.c') diff --git a/layout.c b/layout.c index 1050efc4..4e51a594 100644 --- a/layout.c +++ b/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); } -- cgit v1.2.3