aboutsummaryrefslogtreecommitdiff
path: root/cmd-respawn-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-respawn-window.c')
-rw-r--r--cmd-respawn-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c
index a2090706..eb45d17e 100644
--- a/cmd-respawn-window.c
+++ b/cmd-respawn-window.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-respawn-window.c,v 1.26 2011-01-07 14:45:34 tcunha Exp $ */
+/* $Id$ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -87,7 +87,9 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
}
layout_init(w);
+ window_pane_reset_mode(wp);
screen_reinit(&wp->base);
+ input_init(wp);
window_set_active_pane(w, wp);
recalculate_sizes();