[gnome-shell] main: Move NO_AT_BRIDGE hack to mutter



commit 7f466551faa279be10555cda958ea752775dec19
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Tue Feb 23 18:24:35 2021 +0100

    main: Move NO_AT_BRIDGE hack to mutter
    
    There is no guarantee that it'll have effect, since the time anything
    that'll look at that environment variable is not known by gnome-shell.
    Let mutter carry this burden instead.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1710>

 src/main.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 8c59f9c095..5d07a43014 100644
--- a/src/main.c
+++ b/src/main.c
@@ -465,10 +465,7 @@ main (int argc, char **argv)
   meta_set_wm_name (WM_NAME);
   meta_set_gnome_wm_keybindings (GNOME_WM_KEYBINDINGS);
 
-  /* Prevent meta_init() from causing gtk to load the atk-bridge*/
-  g_setenv ("NO_AT_BRIDGE", "1", TRUE);
   meta_init ();
-  g_unsetenv ("NO_AT_BRIDGE");
 
   /* FIXME: Add gjs API to set this stuff and don't depend on the
    * environment.  These propagate to child processes.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]