From 7995cd59d0ee4a5a9a8e3d1a8756da0f42e4b22d Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 21 Jul 2014 21:17:31 +0200 Subject: [PATCH] gdk: Explain the relation between device type and mode GdkInputMode doesn't apply to all device types, explain why and how do these interact. --- gdk/gdkdevice.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c index 544b681ce4..e784dfa24d 100644 --- a/gdk/gdkdevice.c +++ b/gdk/gdkdevice.c @@ -748,6 +748,10 @@ gdk_device_get_mode (GdkDevice *device) * device is active and whether the device’s range is mapped to the * entire screen or to a single window. * + * Note: This is only meaningful for floating devices, master devices (and + * slaves connected to these) drive the pointer cursor, which is not limited + * by the input mode. + * * Returns: %TRUE if the mode was successfully changed. **/ gboolean