From 401d20fa1fbdae66958ea4c965e761ae64ce8570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20R=C3=B8yset?= Date: Mon, 13 Jun 2022 18:24:56 +0200 Subject: [PATCH] Fix doubled device events on X11 Fixes #2332 --- src/platform_impl/linux/x11/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform_impl/linux/x11/mod.rs b/src/platform_impl/linux/x11/mod.rs index 966d5261..9789f036 100644 --- a/src/platform_impl/linux/x11/mod.rs +++ b/src/platform_impl/linux/x11/mod.rs @@ -555,7 +555,7 @@ impl EventLoopWindowTarget { } self.xconn - .select_xinput_events(self.root, ffi::XIAllDevices, mask) + .select_xinput_events(self.root, ffi::XIAllMasterDevices, mask) .queue(); } }