summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tmux/server-client.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 3c1e1469c38..09f022902a4 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.288 2019/06/20 06:51:36 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.289 2019/06/20 19:29:38 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1265,10 +1265,11 @@ server_client_loop(void)
break;
}
TAILQ_FOREACH(wp, &w->panes, entry) {
- if (wl != NULL && wp->fd != -1) {
+ if (wp->fd != -1) {
if (focus)
server_client_check_focus(wp);
- server_client_check_resize(wp);
+ if (wl != NULL)
+ server_client_check_resize(wp);
}
wp->flags &= ~PANE_REDRAW;
}