From 7f466551faa279be10555cda958ea752775dec19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 23 Feb 2021 18:24:35 +0100 Subject: [PATCH] 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: --- src/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.c b/src/main.c index 8c59f9c09..5d07a4301 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.