diff options
author | 2012-03-17 22:35:09 +0000 | |
---|---|---|
committer | 2012-03-17 22:35:09 +0000 | |
commit | 05babb28bdab76474014f30d0f89f1d606eb785c (patch) | |
tree | c6497a91a4cc05fb670d065a8ae077d08b04dfae /usr.bin/tmux/layout.c | |
parent | $Id$ -> $OpenBSD$. (diff) | |
download | wireguard-openbsd-05babb28bdab76474014f30d0f89f1d606eb785c.tar.xz wireguard-openbsd-05babb28bdab76474014f30d0f89f1d606eb785c.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 'usr.bin/tmux/layout.c')
-rw-r--r-- | usr.bin/tmux/layout.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/layout.c b/usr.bin/tmux/layout.c index def54d444fe..80dbe373aa2 100644 --- a/usr.bin/tmux/layout.c +++ b/usr.bin/tmux/layout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout.c,v 1.9 2012/03/03 08:31:18 nicm Exp $ */ +/* $OpenBSD: layout.c,v 1.10 2012/03/17 22:35:09 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); } |