diff options
Diffstat (limited to 'input-keys.c')
-rw-r--r-- | input-keys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/input-keys.c b/input-keys.c index 85dc2591..f0a38c09 100644 --- a/input-keys.c +++ b/input-keys.c @@ -247,10 +247,10 @@ input_key_mouse(struct window_pane *wp, struct mouse_event *m) if ((mode & ALL_MOUSE_MODES) == 0) return; - if (!window_pane_visible(wp)) - return; if (cmd_mouse_at(wp, m, &x, &y, 0) != 0) return; + if (!window_pane_visible(wp)) + return; /* If this pane is not in button or all mode, discard motion events. */ if (MOUSE_DRAG(m->b) && |