diff options
author | 2017-08-28 12:36:38 +0000 | |
---|---|---|
committer | 2017-08-28 12:36:38 +0000 | |
commit | b81c3e5b21511950fb12e7c643221ec77deed8c0 (patch) | |
tree | 0047d68e8aadd1b73e82366aaf53e44503aa055e /usr.bin/tmux/resize.c | |
parent | Add rkpmic(4), a driver for the RK808 Power Management IC. For now, this (diff) | |
download | wireguard-openbsd-b81c3e5b21511950fb12e7c643221ec77deed8c0.tar.xz wireguard-openbsd-b81c3e5b21511950fb12e7c643221ec77deed8c0.zip |
Do not forbid targets to specify non-visible panes - the checks for
visibility are better where the target is used. GitHub issue 1049.
Diffstat (limited to 'usr.bin/tmux/resize.c')
-rw-r--r-- | usr.bin/tmux/resize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/resize.c b/usr.bin/tmux/resize.c index b67005d2263..b40b0e9fd87 100644 --- a/usr.bin/tmux/resize.c +++ b/usr.bin/tmux/resize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resize.c,v 1.23 2017/05/10 16:48:36 nicm Exp $ */ +/* $OpenBSD: resize.c,v 1.24 2017/08/28 12:36:38 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |