summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2019-03-12 13:56:30 +0000
committernicm <nicm>2019-03-12 13:56:30 +0000
commit028f9d1d879255f9dbb80df53f44d37736b68e00 (patch)
treebf4923dec5a310116d6171b780ce21a7b3d65d51 /window.c
parent303d20a758a2779f76854b6df10f8764e44fc407 (diff)
Fix resizing of control clients, should be ignored until SIZECHANGED flag set.
Diffstat (limited to 'window.c')
-rw-r--r--window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.c b/window.c
index 05adc586..117c47e7 100644
--- a/window.c
+++ b/window.c
@@ -503,8 +503,8 @@ window_get_active_at(struct window *w, u_int x, u_int y)
struct window_pane *wp;
TAILQ_FOREACH(wp, &w->panes, entry) {
- if (!window_pane_visible(wp))
- continue;
+ if (!window_pane_visible(wp))
+ continue;
if (x < wp->xoff || x > wp->xoff + wp->sx)
continue;
if (y < wp->yoff || y > wp->yoff + wp->sy)