From 3d54f973cee1976d3199856e9b2398961d97e9ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 9 Jul 2020 21:49:49 +0200 Subject: [PATCH] clutter/main: Remove unused "fuzzy picking" option https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1364 --- clutter/clutter/clutter-main.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index cc547131e..2fa3d39ce 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -82,7 +82,6 @@ static gboolean clutter_is_initialized = FALSE; static gboolean clutter_show_fps = FALSE; static gboolean clutter_fatal_warnings = FALSE; static gboolean clutter_disable_mipmap_text = FALSE; -static gboolean clutter_use_fuzzy_picking = FALSE; static gboolean clutter_enable_accessibility = TRUE; static gboolean clutter_sync_to_vblank = TRUE; @@ -176,16 +175,6 @@ clutter_config_read_from_key_file (GKeyFile *keyfile) else clutter_disable_mipmap_text = bool_value; - bool_value = - g_key_file_get_boolean (keyfile, ENVIRONMENT_GROUP, - "UseFuzzyPicking", - &key_error); - - if (key_error != NULL) - g_clear_error (&key_error); - else - clutter_use_fuzzy_picking = bool_value; - bool_value = g_key_file_get_boolean (keyfile, ENVIRONMENT_GROUP, "EnableAccessibility", @@ -844,9 +833,6 @@ static GOptionEntry clutter_args[] = { { "clutter-disable-mipmapped-text", 0, 0, G_OPTION_ARG_NONE, &clutter_disable_mipmap_text, N_("Disable mipmapping on text"), NULL }, - { "clutter-use-fuzzy-picking", 0, 0, G_OPTION_ARG_NONE, - &clutter_use_fuzzy_picking, - N_("Use 'fuzzy' picking"), NULL }, #ifdef CLUTTER_ENABLE_DEBUG { "clutter-debug", 0, 0, G_OPTION_ARG_CALLBACK, clutter_arg_debug_cb, N_("Clutter debugging flags to set"), "FLAGS" }, @@ -928,10 +914,6 @@ pre_parse_hook (GOptionContext *context, if (env_string) clutter_disable_mipmap_text = TRUE; - env_string = g_getenv ("CLUTTER_FUZZY_PICK"); - if (env_string) - clutter_use_fuzzy_picking = TRUE; - return _clutter_backend_pre_parse (backend, error); }