mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-25 01:49:58 +00:00
dix: added isMPdev field to _DeviceIntRec, is used in GetPointerEvents()
mieq: avoid merging events from different devices in mieqEnqueue()
xfree86/common
isMPdev field used from xf86ActivateDevice(), xf86PostMotionEvent()
and xf86PostButtonEvent()
This commit is contained in:
parent
7ce2dc5784
commit
c957a16180
5 changed files with 31 additions and 3 deletions
|
|
@ -215,7 +215,7 @@ xf86ActivateDevice(LocalDevicePtr local)
|
|||
|
||||
dev->coreEvents = local->flags & XI86_ALWAYS_CORE;
|
||||
#ifdef MPX
|
||||
dev->coreEvents |= local->flags & XI86_MP_DEVICE;
|
||||
dev->isMPDev = local->flags & XI86_MP_DEVICE;
|
||||
#endif
|
||||
RegisterOtherDevice(dev);
|
||||
|
||||
|
|
@ -464,7 +464,7 @@ xf86PostMotionEvent(DeviceIntPtr device,
|
|||
flags = POINTER_RELATIVE | POINTER_ACCELERATE;
|
||||
|
||||
#ifdef MPX
|
||||
if (device->coreEvents & XI86_MP_DEVICE)
|
||||
if (device->isMPDev)
|
||||
flags |= POINTER_MULTIPOINTER;
|
||||
#endif
|
||||
|
||||
|
|
@ -541,7 +541,7 @@ xf86PostButtonEvent(DeviceIntPtr device,
|
|||
flags = POINTER_RELATIVE;
|
||||
|
||||
#ifdef MPX
|
||||
if (device->coreEvents & XI86_MP_DEVICE)
|
||||
if (device->isMPDev)
|
||||
flags |= POINTER_MULTIPOINTER;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue