mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-06 03:30:27 +01:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue