summaryrefslogtreecommitdiff
path: root/include/X11/extensions
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-12 16:25:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-20 15:34:01 +1000
commit20629761be39493b650f48e120d5c970bca5e796 (patch)
treefb39161edf31f454831334cc3d1915b6c1df0dd5 /include/X11/extensions
parent190035dbb9e74668f7965967a9529fec51d42d14 (diff)
Add XISetDeviceFocus and XIGetDeviceFocus
Diffstat (limited to 'include/X11/extensions')
-rw-r--r--include/X11/extensions/XInput2.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index cdfd0a5..f7ffba3 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -340,6 +340,18 @@ extern XIDeviceInfo* XIQueryDevice(
int* ndevices_return
);
+extern Status XISetDeviceFocus(
+ Display* dpy,
+ int deviceid,
+ Window focus,
+ Time time
+);
+
+extern Status XIGetDeviceFocus(
+ Display* dpy,
+ int deviceid,
+ Window *focus_return);
+
extern void XIFreeDeviceInfo(XIDeviceInfo *info);
extern void XIFreeEventData(XIEvent *ev);