mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
xkb: extract the correct device in XkbFilterEvents.
If the event is an XI event, we need to work on the correct device, not on the VCK. Adds XIGetDevice(event) function to extract the device from an event.
This commit is contained in:
parent
d972399566
commit
de1a8b68eb
3 changed files with 42 additions and 0 deletions
|
|
@ -249,4 +249,6 @@ extern Atom XIGetKnownProperty(
|
|||
char* name
|
||||
);
|
||||
|
||||
extern DeviceIntPtr XIGetDevice(xEvent *ev);
|
||||
|
||||
#endif /* EXEVENTS_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue