summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/x11_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index ce97ddda54..9b5d5cb929 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -1614,7 +1614,7 @@ static void vo_x11_selectinput_witherr(struct vo *vo,
long event_mask)
{
if (!vo->opts->enable_mouse_movements)
- event_mask &= ~(ButtonPressMask | ButtonReleaseMask);
+ event_mask &= ~(PointerMotionMask | ButtonPressMask | ButtonReleaseMask);
XSelectInput(display, w, NoEventMask);