mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-03 18:18:06 +02:00
Xi: silence compiler warnings about "wrong" event types.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6b467bf879
commit
4fee979d06
1 changed files with 5 additions and 4 deletions
|
|
@ -1002,12 +1002,13 @@ ProcessOtherEvent(InternalEvent *ev, DeviceIntPtr device)
|
|||
|
||||
|
||||
if (grab)
|
||||
DeliverGrabbedEvent(event, device, deactivateDeviceGrab);
|
||||
DeliverGrabbedEvent((InternalEvent*)event, device, deactivateDeviceGrab);
|
||||
else if (device->focus && !IsPointerEvent((InternalEvent*)ev))
|
||||
DeliverFocusedEvent(device, event, GetSpriteWindow(device));
|
||||
DeliverFocusedEvent(device, (InternalEvent*)event,
|
||||
GetSpriteWindow(device));
|
||||
else
|
||||
DeliverDeviceEvents(GetSpriteWindow(device), event, NullGrab,
|
||||
NullWindow, device);
|
||||
DeliverDeviceEvents(GetSpriteWindow(device), (InternalEvent*)event,
|
||||
NullGrab, NullWindow, device);
|
||||
|
||||
if (deactivateDeviceGrab == TRUE)
|
||||
(*device->deviceGrab.DeactivateGrab) (device);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue