summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2023-07-11 13:26:57 -0400
committerraveit65 <[email protected]>2023-07-11 21:35:46 +0200
commit79c6912d76612479a90f754983c00d3724722e28 (patch)
tree7bd5f45aeb571d7d2095b3569710df56e1588fc9 /src
parent95c76539bd78efa3aef0dd744e1c0630d926fbd0 (diff)
downloadmate-terminal-79c6912d76612479a90f754983c00d3724722e28.tar.bz2
mate-terminal-79c6912d76612479a90f754983c00d3724722e28.tar.xz
Do not set DISPLAY, inherit it instead
*Otherwise x11-only apps in wayland can't connect to xwayland
Diffstat (limited to 'src')
-rw-r--r--src/terminal-screen.c2
1 files changed, 0 insertions, 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;