Do not forbid targets to specify non-visible panes - the checks for

visibility are better where the target is used. GitHub issue 1049.
This commit is contained in:
nicm
2017-08-28 12:36:38 +00:00
parent fccfc4e4be
commit fe4467ad2b
4 changed files with 24 additions and 32 deletions

View File

@ -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);