summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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);