summaryrefslogtreecommitdiff
path: root/gdk/gdkdevicemanager.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-12-13 00:55:19 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-15 03:17:58 +0100
commitc4a5c2ed4b8861f92104f51d9213b0c9f64e26b1 (patch)
treeb37ad7191d24a9587bb0cb8207acedbf2c76d945 /gdk/gdkdevicemanager.c
parent66800aa212b3b086996d5a22f4eca151b679f309 (diff)
downloadgtk+-c4a5c2ed4b8861f92104f51d9213b0c9f64e26b1.tar.gz
Enable XI2 by default
gdk_enable_multidevice() has been replaced with gdk_disable_multidevice(), so applications may call that function if they want to go back at the previous behavior. There would be usually little reasons to call that function, unless the application is doing X calls itself that count on old fashioned core devices.
Diffstat (limited to 'gdk/gdkdevicemanager.c')
-rw-r--r--gdk/gdkdevicemanager.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdk/gdkdevicemanager.c b/gdk/gdkdevicemanager.c
index 56499bcb64..fced01ff49 100644
--- a/gdk/gdkdevicemanager.c
+++ b/gdk/gdkdevicemanager.c
@@ -36,12 +36,13 @@
* additional features such as sub-pixel positioning information and additional
* device-dependent information.
* @Title: GdkDeviceManager
- * @See_also: #GdkDevice, #GdkEvent, gdk_enable_multidevice()
+ * @See_also: #GdkDevice, #GdkEvent, gdk_disable_multidevice()
*
- * By default, GDK supports the traditional single keyboard/pointer input scheme (Plus additional
- * special input devices such as tablets. In short, backwards compatible with 2.X). Since version 3.0,
- * if gdk_enable_multidevice() is called before gdk_display_open() and the platform supports it, GDK
- * will be aware of multiple keyboard/pointer pairs interacting simultaneously with the user interface.
+ * By default, and if the platform supports it, GDK is aware of multiple keyboard/pointer pairs
+ * and multitouch devices, this behavior can be changed by calling gdk_disable_multidevice()
+ * before gdk_display_open(), although there would be rarely a reason to do that. For a widget
+ * or window to be dealt as multipointer aware, gdk_window_set_support_multidevice() or
+ * gtk_widget_set_support_multidevice() must have been called on it.
*
* Conceptually, in multidevice mode there are 2 device types, virtual devices (or master devices)
* are represented by the pointer cursors and keyboard foci that are seen on the screen. physical