summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-select-layout.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2018-07-02 12:39:14 +0000
committernicm <nicm@openbsd.org>2018-07-02 12:39:14 +0000
commiteba82446a20ca39bdbf3ce422e83a6d13850d2d1 (patch)
treefb2534afb6ff4aa72aa3af3552ac6c3208a431ee /usr.bin/tmux/cmd-select-layout.c
parentexplicitly document some common pkg_add features that also make sense (diff)
downloadwireguard-openbsd-eba82446a20ca39bdbf3ce422e83a6d13850d2d1.tar.xz
wireguard-openbsd-eba82446a20ca39bdbf3ce422e83a6d13850d2d1.zip
Fire notify for select-layout, from George Nachman.
Diffstat (limited to 'usr.bin/tmux/cmd-select-layout.c')
-rw-r--r--usr.bin/tmux/cmd-select-layout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-select-layout.c b/usr.bin/tmux/cmd-select-layout.c
index e024f7bd977..bc914123a8f 100644
--- a/usr.bin/tmux/cmd-select-layout.c
+++ b/usr.bin/tmux/cmd-select-layout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-select-layout.c,v 1.34 2017/11/15 19:59:27 nicm Exp $ */
+/* $OpenBSD: cmd-select-layout.c,v 1.35 2018/07/02 12:39:14 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -136,6 +136,7 @@ cmd_select_layout_exec(struct cmd *self, struct cmdq_item *item)
changed:
free(oldlayout);
server_redraw_window(w);
+ notify_window("window-layout-changed", w);
return (CMD_RETURN_NORMAL);
error: