aboutsummaryrefslogtreecommitdiff
path: root/cmd-new-window.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-18 02:22:09 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-18 02:22:09 +0000
commitf41efd9d89f6596a4dc0600fd23ba56d69d1c47c (patch)
tree1e8f253fe22ffc27d7c385849c85a3969dbec881 /cmd-new-window.c
parentba7278373d4532e7cba530fcb025689ede6aeda3 (diff)
downloadrtmux-f41efd9d89f6596a4dc0600fd23ba56d69d1c47c.tar.gz
rtmux-f41efd9d89f6596a4dc0600fd23ba56d69d1c47c.tar.bz2
rtmux-f41efd9d89f6596a4dc0600fd23ba56d69d1c47c.zip
Sync OpenBSD patchset 1069:
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 'cmd-new-window.c')
-rw-r--r--cmd-new-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c
index d3d52d1a..ccc6d5e2 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -89,6 +89,7 @@ cmd_new_window_exec(struct cmd *self, struct cmd_ctx *ctx)
* Can't use session_detach as it will destroy session if this
* makes it empty.
*/
+ notify_window_unlinked(s, wl->window);
wl->flags &= ~WINLINK_ALERTFLAGS;
winlink_stack_remove(&s->lastw, wl);
winlink_remove(&s->windows, wl);