diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-07-22 08:15:00 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-07-22 08:15:00 +0200 |
commit | 8577a25d21435952ac7cf3597530217bce2f1cb5 (patch) | |
tree | 195900abcc6c5e33ac78d0cf6578bee9203af58c /src | |
parent | 04a651320ba00571a0b2af9ae25c6d6c696c2803 (diff) | |
parent | 602a737440ae050e7725cb7c1f2dd31e97bf70e0 (diff) | |
download | glutin-8577a25d21435952ac7cf3597530217bce2f1cb5.tar.gz glutin-8577a25d21435952ac7cf3597530217bce2f1cb5.zip |
Merge pull request #535 from robertknight/x11_duplicated_mouse_events
Only listen for mouse events from master devices
Diffstat (limited to 'src')
-rw-r--r-- | src/api/x11/input.rs | 2 |
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() }; |