diff options
author | lukefromdc <[email protected]> | 2023-07-11 13:26:57 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-07-11 21:35:46 +0200 |
commit | 79c6912d76612479a90f754983c00d3724722e28 (patch) | |
tree | 7bd5f45aeb571d7d2095b3569710df56e1588fc9 | |
parent | 95c76539bd78efa3aef0dd744e1c0630d926fbd0 (diff) | |
download | mate-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
-rw-r--r-- | src/terminal-screen.c | 2 |
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; |