mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-25 01:49:58 +00:00
xfree86: fix xf86ActivateDevice(): only set to MP device if not a keyboard
This commit is contained in:
parent
202b46eb6b
commit
b55e1239ac
4 changed files with 30 additions and 1 deletions
|
|
@ -171,7 +171,8 @@ xf86ActivateDevice(LocalDevicePtr local)
|
|||
local->dev = dev;
|
||||
|
||||
dev->coreEvents = local->flags & XI86_ALWAYS_CORE;
|
||||
dev->isMPDev = !(local->flags & XI86_SHARED_POINTER);
|
||||
dev->isMPDev =
|
||||
MayNeedPointer(dev) && !(local->flags & XI86_SHARED_POINTER);
|
||||
InitSprite(dev, dev->isMPDev);
|
||||
|
||||
RegisterOtherDevice(dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue