diff options
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 63526138e7..e66d7ef34b 100644 --- a/input/input.c +++ b/input/input.c @@ -431,7 +431,7 @@ static struct cmd_bind *find_any_bind_for_key(struct input_ctx *ictx, // First look whether a mouse section is capturing all mouse input // exclusively (regardless of the active section stack order). - if (use_mouse) { + if (use_mouse && MP_KEY_IS_MOUSE_BTN_SINGLE(ictx->last_key_down)) { struct cmd_bind *bind = find_bind_for_key_section(ictx, ictx->mouse_section, code); if (bind) |