From fbb586283ffa6c4e15e46bdf84f3e8b5201ed74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 14 Sep 2021 16:08:33 +0200 Subject: [PATCH] clutter: Remove left-over xinput debug code The only thing that happened was a static boolean getting set but never read. Part-of: --- src/backends/x11/meta-clutter-backend-x11.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/backends/x11/meta-clutter-backend-x11.c b/src/backends/x11/meta-clutter-backend-x11.c index d94987879..f296bf343 100644 --- a/src/backends/x11/meta-clutter-backend-x11.c +++ b/src/backends/x11/meta-clutter-backend-x11.c @@ -71,7 +71,6 @@ static const gchar *atom_names[] = { #define N_ATOM_NAMES G_N_ELEMENTS (atom_names) /* various flags corresponding to pre init setup calls */ -static gboolean clutter_enable_xinput = TRUE; static gboolean clutter_enable_stereo = FALSE; static Display *_foreign_dpy = NULL; @@ -125,13 +124,6 @@ meta_clutter_backend_x11_pre_parse (ClutterBackend *backend, env_string = NULL; } - env_string = g_getenv ("CLUTTER_DISABLE_XINPUT"); - if (env_string) - { - clutter_enable_xinput = FALSE; - env_string = NULL; - } - return TRUE; } @@ -247,12 +239,6 @@ static const GOptionEntry entries[] = G_OPTION_ARG_NONE, &clutter_synchronise, 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 } };