summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-split-window.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2012-03-17 22:35:09 +0000
committernicm <nicm@openbsd.org>2012-03-17 22:35:09 +0000
commit05babb28bdab76474014f30d0f89f1d606eb785c (patch)
treec6497a91a4cc05fb670d065a8ae077d08b04dfae /usr.bin/tmux/cmd-split-window.c
parent$Id$ -> $OpenBSD$. (diff)
downloadwireguard-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/cmd-split-window.c')
-rw-r--r--usr.bin/tmux/cmd-split-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-split-window.c b/usr.bin/tmux/cmd-split-window.c
index 55083d1bdad..08cf45e5ef7 100644
--- a/usr.bin/tmux/cmd-split-window.c
+++ b/usr.bin/tmux/cmd-split-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-split-window.c,v 1.31 2012/03/04 20:52:05 nicm Exp $ */
+/* $OpenBSD: cmd-split-window.c,v 1.32 2012/03/17 22:35:09 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -156,6 +156,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx)
format_free(ft);
}
+ notify_window_layout_changed(w);
return (0);
error: