Skip to content

Commit 5221273

Browse files
committed
Fix doubled device events on X11
Fixes rust-windowing#2332
1 parent 9e6f666 commit 5221273

File tree

1 file changed

+1
-1
lines changed
  • src/platform_impl/linux/x11

1 file changed

+1
-1
lines changed

src/platform_impl/linux/x11/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ impl<T> EventLoopWindowTarget<T> {
555555
}
556556

557557
self.xconn
558-
.select_xinput_events(self.root, ffi::XIAllDevices, mask)
558+
.select_xinput_events(self.root, ffi::XIAllMasterDevices, mask)
559559
.queue();
560560
}
561561
}

0 commit comments

Comments
 (0)