From 79c6912d76612479a90f754983c00d3724722e28 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Tue, 11 Jul 2023 13:26:57 -0400 Subject: Do not set DISPLAY, inherit it instead *Otherwise x11-only apps in wayland can't connect to xwayland --- src/terminal-screen.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/terminal-screen.c b/src/terminal-screen.c index ba8b614..b4993be 100644 --- a/src/terminal-screen.c +++ b/src/terminal-screen.c @@ -1473,8 +1473,6 @@ get_child_environment (TerminalScreen *screen, g_hash_table_replace (env_table, g_strdup ("WINDOWID"), g_strdup_printf ("%ld", GDK_WINDOW_XID (gtk_widget_get_window (window)))); } #endif - g_hash_table_replace (env_table, g_strdup ("DISPLAY"), g_strdup (gdk_display_get_name (display))); - g_settings_schema_source_list_schemas (g_settings_schema_source_get_default (), TRUE, &list_schemas, NULL); schema_exists = FALSE; -- cgit v1.2.1