dix: coreEvents doesn't have meaning here, use master instead.
We mustn't clip x/y if we are attached, otherwise we can't change screens.
This commit is contained in:
parent
fc1cc0adcb
commit
fb146cbb0f
|
@ -790,9 +790,10 @@ GetPointerEvents(EventList *events, DeviceIntPtr pDev, int type, int buttons,
|
|||
if(v1) y += *v1;
|
||||
/*TODO: Update the rest of the valuators */
|
||||
|
||||
/* if not core -> clip both x and y to the defined limits (usually
|
||||
* co-ord space limit). */
|
||||
if(!pDev->coreEvents) {
|
||||
/* if attached, clip both x and y to the defined limits (usually
|
||||
* co-ord space limit). If it is attached, we need x/y to go over the
|
||||
* limits to be able to change screens. */
|
||||
if(master) {
|
||||
clipAxis(pDev, 0, &x);
|
||||
clipAxis(pDev, 1, &y);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue