summaryrefslogtreecommitdiffstats
path: root/cmd-kill-window.c
authortcunha <tcunha>2009-09-20 22:15:32 (GMT)
committer tcunha <tcunha>2009-09-20 22:15:32 (GMT)
commit102a576ef032883be1e82c13b7f0a614bf2b5852 (patch) (side-by-side diff)
treee1983f21fb1872572bbaa85416e59df874b6f7dd /cmd-kill-window.c
parentd87e44bc1b1b7ba10def4adda87d7212b3499724 (diff)
downloadtmux-old-102a576ef032883be1e82c13b7f0a614bf2b5852.zip
tmux-old-102a576ef032883be1e82c13b7f0a614bf2b5852.tar.gz
tmux-old-102a576ef032883be1e82c13b7f0a614bf2b5852.tar.bz2
Sync OpenBSD patchset 333:
Move some common and untidy code for window link/unlink into generic functions instead of duplicating it in move/link window..
Diffstat (limited to 'cmd-kill-window.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-kill-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-kill-window.c b/cmd-kill-window.c
index d8647f9..1e778dc 100644
--- a/cmd-kill-window.c
+++ b/cmd-kill-window.c
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: cmd-kill-window.c,v 1.20 2009/09/20 22:15:32 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <[email protected]>
@@ -47,6 +47,7 @@ cmd_kill_window_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
server_kill_window(wl->window);
+ recalculate_sizes();
return (0);
}