aboutsummaryrefslogtreecommitdiff
path: root/resize.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-08-28 14:01:17 +0100
committerThomas Adam <thomas@xteddy.org>2017-08-28 14:01:17 +0100
commit7d3bf6453ec43f03ff98231c5ced5a2979550f84 (patch)
tree84c63317aa4db9c3084a2279f20959fcfaf954e7 /resize.c
parentb2322b38937f6e4232154c3fce25d539e4b054df (diff)
parentfe4467ad2bf7b37a12330ed0a147e7230d60179a (diff)
downloadrtmux-7d3bf6453ec43f03ff98231c5ced5a2979550f84.tar.gz
rtmux-7d3bf6453ec43f03ff98231c5ced5a2979550f84.tar.bz2
rtmux-7d3bf6453ec43f03ff98231c5ced5a2979550f84.zip
Merge branch 'obsd-master'
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);