mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
Xi: only DeliverFocusedEvents if the event is not a pointer event.
A pointer device may have a focus class, but even if so, pointer events must be delivered to the sprite window, not the focus window.
This commit is contained in:
parent
4824942527
commit
a88386ee27
3 changed files with 30 additions and 3 deletions
|
|
@ -615,6 +615,7 @@ extern int XItoCoreType(int xi_type);
|
|||
extern Bool DevHasCursor(DeviceIntPtr pDev);
|
||||
extern Bool IsPointerDevice( DeviceIntPtr dev);
|
||||
extern Bool IsKeyboardDevice(DeviceIntPtr dev);
|
||||
extern Bool IsPointerEvent(xEvent* xE);
|
||||
|
||||
/*
|
||||
* These are deprecated compatibility functions and will be removed soon!
|
||||
|
|
|
|||
Loading…
Reference in a new issue