summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkinput-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/x11/gdkinput-x11.c')
-rw-r--r--gdk/x11/gdkinput-x11.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdk/x11/gdkinput-x11.c b/gdk/x11/gdkinput-x11.c
index a793a4245f..767b0702c4 100644
--- a/gdk/x11/gdkinput-x11.c
+++ b/gdk/x11/gdkinput-x11.c
@@ -858,6 +858,16 @@ _gdk_device_get_history (GdkDevice *device,
return FALSE;
}
+/**
+ * gdk_device_get_state:
+ * @device: a #GdkDevice.
+ * @window: a #GdkWindow.
+ * @axes: an array of doubles to store the values of the axes of @device in,
+ * or %NULL.
+ * @mask: location to store the modifiers, or %NULL.
+ *
+ * Gets the current state of a device.
+ */
void
gdk_device_get_state (GdkDevice *device,
GdkWindow *window,