diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-03-17 22:35:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-03-17 22:35:09 +0000 |
commit | 46210344a62b079ff61435b978da41a0f92caf3a (patch) | |
tree | db1d29f00e52472ad2e2d200cc583845ad8a5e12 /layout.c | |
parent | 4f480c901de715a2fa0ec450c57d4881d662413f (diff) | |
download | rtmux-46210344a62b079ff61435b978da41a0f92caf3a.tar.gz rtmux-46210344a62b079ff61435b978da41a0f92caf3a.tar.bz2 rtmux-46210344a62b079ff61435b978da41a0f92caf3a.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |