[gtk+/xi2-for-master] Mention that gdk_enable_multidevice() must be called before gdk_display_open().
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/xi2-for-master] Mention that gdk_enable_multidevice() must be called before gdk_display_open().
- Date: Fri, 21 May 2010 19:07:47 +0000 (UTC)
commit 7685f42ec5fbac8b1eb7b2aa215be80829db155c
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri May 21 20:49:39 2010 +0200
Mention that gdk_enable_multidevice() must be called before gdk_display_open().
gdk/gdk.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdk.c b/gdk/gdk.c
index f0d1bd9..89a4e2f 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -790,9 +790,12 @@ gdk_set_program_class (const char *program_class)
/**
* gdk_enable_multidevice:
*
- * Enables multidevice support in GDK. Note that individual
- * #GdkWindow<!-- -->s still need to explicitly enable multidevice
- * awareness through gdk_window_set_support_multidevice().
+ * Enables multidevice support in GDK. This call must happen prior
+ * to gdk_display_open(), gtk_init(), gtk_init_with_args() or
+ * gtk_init_check() in order to take effect.
+ *
+ * Note that individual #GdkWindow<!-- -->s still need to explicitly
+ * enable multidevice awareness through gdk_window_set_support_multidevice().
*
* This function must be called before initializing GDK.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]