summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-11-03 11:30:48 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-04 16:04:16 +1030
commitde1a8b68eb10c39a0d4a197107d68d7cc009edb2 (patch)
tree4acc1223eeee1f6afb256834a7d3c1eb70d19a05 /include
parentd97239956667f8181f30271759573b75bf455fbb (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/exevents.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exevents.h b/include/exevents.h
index 667004aa1..8788295bf 100644
--- a/include/exevents.h
+++ b/include/exevents.h
@@ -249,4 +249,6 @@ extern Atom XIGetKnownProperty(
char* name
);
+extern DeviceIntPtr XIGetDevice(xEvent *ev);
+
#endif /* EXEVENTS_H */