summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-17 22:35:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-17 22:35:09 +0000
commit46210344a62b079ff61435b978da41a0f92caf3a (patch)
treedb1d29f00e52472ad2e2d200cc583845ad8a5e12 /layout.c
parent4f480c901de715a2fa0ec450c57d4881d662413f (diff)
Add notify hooks for various events, the functions are currently empty
stubs but will be filled in for control mode later. From George Nachman.
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c2
1 files changed, 2 insertions, 0 deletions
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);
}