mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: FixUpEventFromWindow mustn't scramble non-device events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user