diff options
author | Robert Knight <robert.knight@mendeley.com> | 2015-07-22 06:40:06 +0100 |
---|---|---|
committer | Robert Knight <robert.knight@mendeley.com> | 2015-07-22 06:44:51 +0100 |
commit | 602a737440ae050e7725cb7c1f2dd31e97bf70e0 (patch) | |
tree | 195900abcc6c5e33ac78d0cf6578bee9203af58c /src/api/x11/xdisplay.rs | |
parent | 04a651320ba00571a0b2af9ae25c6d6c696c2803 (diff) | |
download | glutin-602a737440ae050e7725cb7c1f2dd31e97bf70e0.tar.gz glutin-602a737440ae050e7725cb7c1f2dd31e97bf70e0.zip |
Only listen for mouse events from master devices
XInput2 has a concept of master and slave devices,
where a slave device is the actual physical device,
attached to a master device representing the cursor or keyboard
focus.
See http://who-t.blogspot.co.uk/2009/05/xi2-recipes-part-1.html
Mouse events were being received from both the master and slave
devices, but we are only interested in events from the master device.
Fixes #533
Diffstat (limited to 'src/api/x11/xdisplay.rs')
0 files changed, 0 insertions, 0 deletions