diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-12-23 11:43:16 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-12-23 11:43:16 +0000 |
commit | d5c591d28ff8a26dedb82bb85c35781f22f82783 (patch) | |
tree | 5d42e11719ebdd624e1f9e6ecbbf7ba2115cb3b9 /clutter-gtk | |
parent | 3684dc538ea0fdae596e0c329737f3d20108fe8a (diff) | |
download | clutter-gtk-d5c591d28ff8a26dedb82bb85c35781f22f82783.tar.gz |
Disable multi-device
The filter function we use to dispatch GDK events to Clutter has been
broken by the multi-device support in GDK; needs further investigation,
but right now we can disable multi-device support easily enough.
Diffstat (limited to 'clutter-gtk')
-rw-r--r-- | clutter-gtk/gtk-clutter-util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clutter-gtk/gtk-clutter-util.c b/clutter-gtk/gtk-clutter-util.c index d44792c..3c3df7e 100644 --- a/clutter-gtk/gtk-clutter-util.c +++ b/clutter-gtk/gtk-clutter-util.c @@ -132,6 +132,8 @@ ClutterInitError gtk_clutter_init (int *argc, char ***argv) { + gdk_disable_multidevice (); + if (!gtk_init_check (argc, argv)) return CLUTTER_INIT_ERROR_UNKNOWN; @@ -188,6 +190,8 @@ gtk_clutter_init_with_args (int *argc, GOptionContext *context; gboolean res; + gdk_disable_multidevice (); + #if defined(GDK_WINDOWING_X11) && CLUTTER_CHECK_VERSION (1, 1, 5) /* enable ARGB visuals by default for Clutter */ clutter_x11_set_use_argb_visual (TRUE); |