[gnome-terminal/gnome-3-22] screen: Remove WINDOWID env var on non-X11
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-22] screen: Remove WINDOWID env var on non-X11
- Date: Mon, 7 Nov 2016 18:10:25 +0000 (UTC)
commit c5a35d09bbf6ee872c9284da4d50a111b691b3ac
Author: Christian Persch <chpe src gnome org>
Date: Mon Nov 7 18:30:17 2016 +0100
screen: Remove WINDOWID env var on non-X11
src/terminal-screen.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 9a0b450..017a38b 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -1208,7 +1208,9 @@ get_child_environment (TerminalScreen *screen,
GDK_WINDOW_XID (gtk_widget_get_window (window))));
g_hash_table_replace (env_table, g_strdup ("DISPLAY"), g_strdup (gdk_display_get_name
(gtk_widget_get_display (window))));
}
+ else
#endif
+ g_hash_table_remove (env_table, "WINDOWID");
/* We need to put the working directory also in PWD, so that
* e.g. bash starts in the right directory if @cwd is a symlink.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]