summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-split-window.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-10-16 22:06:40 +0000
committernicm <nicm@openbsd.org>2016-10-16 22:06:40 +0000
commit2ae124fe486d7811b42e2daedf9d60322f1794d3 (patch)
tree3ba6edb7f45cafe7d15054b1d759a9425c8b0468 /usr.bin/tmux/cmd-split-window.c
parentUse closefrom(4) in privsep parent and avoid some global file (diff)
downloadwireguard-openbsd-2ae124fe486d7811b42e2daedf9d60322f1794d3.tar.xz
wireguard-openbsd-2ae124fe486d7811b42e2daedf9d60322f1794d3.zip
Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.
Diffstat (limited to 'usr.bin/tmux/cmd-split-window.c')
-rw-r--r--usr.bin/tmux/cmd-split-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-split-window.c b/usr.bin/tmux/cmd-split-window.c
index 8994ff94fd9..1dafb856135 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.75 2016/10/16 19:04:05 nicm Exp $ */
+/* $OpenBSD: cmd-split-window.c,v 1.76 2016/10/16 22:06:40 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -178,7 +178,7 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item)
format_free(ft);
}
- notify_window_layout_changed(w);
+ notify_window("window-layout-changed", w);
if (to_free != NULL)
free((void *)to_free);