dix: FixUpEventFromWindow mustn't scramble non-device events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c73cd3b265
commit
ef75301854
|
@ -2258,7 +2258,10 @@ FixUpEventFromWindow(
|
|||
event->evtype == XI_RawKeyRelease ||
|
||||
event->evtype == XI_RawButtonPress ||
|
||||
event->evtype == XI_RawButtonRelease ||
|
||||
event->evtype == XI_RawMotion)
|
||||
event->evtype == XI_RawMotion ||
|
||||
event->evtype == XI_DeviceChanged ||
|
||||
event->evtype == XI_HierarchyChanged ||
|
||||
event->evtype == XI_PropertyEvent)
|
||||
return;
|
||||
|
||||
event->root = RootWindow(pDev)->drawable.id;
|
||||
|
|
Loading…
Reference in New Issue
Block a user