From a5ad186547afc844f79c2dc8f3adb1821890e5db Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sat, 25 Jul 2009 09:04:54 +0000 Subject: [PATCH] Sync OpenBSD patchset 180: Set the active pane when respawning a window - fixes problems when respawning a window with multiple panes. --- cmd-respawn-window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c index cdfb0656..74675c21 100644 --- a/cmd-respawn-window.c +++ b/cmd-respawn-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-respawn-window.c,v 1.16 2009-07-20 15:42:05 tcunha Exp $ */ +/* $Id: cmd-respawn-window.c,v 1.17 2009-07-25 09:04:54 tcunha Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -81,6 +81,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx) } layout_init(w); screen_reinit(&wp->base); + window_set_active_pane(w, wp); recalculate_sizes(); server_redraw_window(w);