From fe4467ad2bf7b37a12330ed0a147e7230d60179a Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 28 Aug 2017 12:36:38 +0000 Subject: Do not forbid targets to specify non-visible panes - the checks for visibility are better where the target is used. GitHub issue 1049. --- resize.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resize.c') diff --git a/resize.c b/resize.c index 4c41f769..0fd30ba0 100644 --- a/resize.c +++ b/resize.c @@ -159,6 +159,8 @@ recalculate_sizes(void) if (w->active == wp) break; } + if (w->active == w->last) + w->last = NULL; server_redraw_window(w); notify_window("window-layout-changed", w); -- cgit