[gdm] server: Properly set the DISPLAY envvar
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] server: Properly set the DISPLAY envvar
- Date: Thu, 13 Feb 2014 18:49:23 +0000 (UTC)
commit b390b06ac9feaade439c0d56fcd8b126f5cfd30c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Feb 12 20:37:49 2014 -0500
server: Properly set the DISPLAY envvar
Noticed by code inspection. Not sure how broken this really is...
daemon/gdm-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c
index 4d193f8..ef149ad 100644
--- a/daemon/gdm-server.c
+++ b/daemon/gdm-server.c
@@ -632,7 +632,7 @@ get_server_environment (GdmServer *server)
g_hash_table_insert (hash, g_strdup ("DISPLAY"), g_strdup
(server->priv->parent_display_name));
}
} else {
- g_hash_table_insert (hash, g_strdup ("DISPLAY="), g_strdup (server->priv->display_name));
+ g_hash_table_insert (hash, g_strdup ("DISPLAY"), g_strdup (server->priv->display_name));
}
if (server->priv->user_name != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]