summaryrefslogtreecommitdiffstats
path: root/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'resize.c')
-rw-r--r--resize.c2
1 files changed, 2 insertions, 0 deletions
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);