mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
evdev: Port b4a5a204 "Fix pointer crossing screen bug." to current master branch
The commit b4a5a204 fixed an issue, where we can't move the pointer to
other screens and this happens in current master branch again. This commit
ports the old commit to the current master branch.
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
This commit is contained in:
committed by
Peter Hutterer
parent
da112737eb
commit
fec73e1418
@@ -767,11 +767,11 @@ EvdevAddRelClass(DeviceIntPtr device)
|
||||
return !Success;
|
||||
|
||||
/* X valuator */
|
||||
xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1);
|
||||
xf86InitValuatorAxisStruct(device, 0, -1, -1, 1, 0, 1);
|
||||
xf86InitValuatorDefaults(device, 0);
|
||||
|
||||
/* Y valuator */
|
||||
xf86InitValuatorAxisStruct(device, 1, 0, -1, 1, 0, 1);
|
||||
xf86InitValuatorAxisStruct(device, 1, -1, -1, 1, 0, 1);
|
||||
xf86InitValuatorDefaults(device, 1);
|
||||
xf86MotionHistoryAllocate(pInfo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user