[clutter-gtk] Remove call to enable XInput support in Clutter
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gtk] Remove call to enable XInput support in Clutter
- Date: Tue, 19 Mar 2013 13:26:39 +0000 (UTC)
commit 12bf3d8b5debb812a49de830645c26d8a4f4b13f
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Mar 19 09:15:42 2013 -0300
Remove call to enable XInput support in Clutter
The XInput code in Clutter is enabled by default in the version we
require for Clutter-GTK, and clutter_x11_enable_xinput() is deprecated,
so we should just drop it.
clutter-gtk/gtk-clutter-util.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-util.c b/clutter-gtk/gtk-clutter-util.c
index 7762084..38e3ced 100644
--- a/clutter-gtk/gtk-clutter-util.c
+++ b/clutter-gtk/gtk-clutter-util.c
@@ -76,9 +76,6 @@ post_parse_hook (GOptionContext *context,
if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11) &&
GDK_IS_X11_DISPLAY (display))
{
- /* we need XI enabled because GTK will enable it by default as well */
- clutter_x11_enable_xinput ();
-
/* enable ARGB visuals by default for Clutter */
clutter_x11_set_use_argb_visual (TRUE);
@@ -192,8 +189,6 @@ gtk_clutter_init (int *argc,
#if defined(GDK_WINDOWING_X11) && defined(CLUTTER_WINDOWING_X11)
if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
{
- clutter_x11_enable_xinput ();
-
clutter_x11_set_use_argb_visual (TRUE);
clutter_x11_set_display (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]