aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/api/x11/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/x11/input.rs b/src/api/x11/input.rs
index 25add95..34ba33a 100644
--- a/src/api/x11/input.rs
+++ b/src/api/x11/input.rs
@@ -77,7 +77,7 @@ impl XInputEventHandler {
// X11 events.
let mut mask: [libc::c_uchar; 2] = [0, 0];
let mut input_event_mask = ffi::XIEventMask {
- deviceid: ffi::XIAllDevices,
+ deviceid: ffi::XIAllMasterDevices,
mask_len: mask.len() as i32,
mask: mask.as_mut_ptr()
};