clutter: Remove left-over xinput debug code

The only thing that happened was a static boolean getting set but never
read.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2002>
This commit is contained in:
Jonas Ådahl 2021-09-14 16:08:33 +02:00 committed by Marge Bot
parent 3768efef2b
commit fbb586283f

View File

@ -71,7 +71,6 @@ static const gchar *atom_names[] = {
#define N_ATOM_NAMES G_N_ELEMENTS (atom_names) #define N_ATOM_NAMES G_N_ELEMENTS (atom_names)
/* various flags corresponding to pre init setup calls */ /* various flags corresponding to pre init setup calls */
static gboolean clutter_enable_xinput = TRUE;
static gboolean clutter_enable_stereo = FALSE; static gboolean clutter_enable_stereo = FALSE;
static Display *_foreign_dpy = NULL; static Display *_foreign_dpy = NULL;
@ -125,13 +124,6 @@ meta_clutter_backend_x11_pre_parse (ClutterBackend *backend,
env_string = NULL; env_string = NULL;
} }
env_string = g_getenv ("CLUTTER_DISABLE_XINPUT");
if (env_string)
{
clutter_enable_xinput = FALSE;
env_string = NULL;
}
return TRUE; return TRUE;
} }
@ -247,12 +239,6 @@ static const GOptionEntry entries[] =
G_OPTION_ARG_NONE, &clutter_synchronise, G_OPTION_ARG_NONE, &clutter_synchronise,
N_("Make X calls synchronous"), NULL N_("Make X calls synchronous"), NULL
}, },
{
"disable-xinput", 0,
G_OPTION_FLAG_REVERSE,
G_OPTION_ARG_NONE, &clutter_enable_xinput,
N_("Disable XInput support"), NULL
},
{ NULL } { NULL }
}; };