Commit b390b06a authored by Jasper St. Pierre's avatar Jasper St. Pierre

server: Properly set the DISPLAY envvar

Noticed by code inspection. Not sure how broken this really is...
parent af6969a4
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment