summaryrefslogtreecommitdiff
path: root/mate-session/main.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-07-01 10:14:30 +0200
committerStefano Karapetsas <[email protected]>2014-07-01 10:14:30 +0200
commit54d07d5becc1e2e967611c20f14c4dd5b5879be6 (patch)
tree70f341a82e00f72471549dbc4f4e867bf952333d /mate-session/main.c
parent796701300b69c4b008f92e55cd11cf8edc3497eb (diff)
parent67e67c468546c482221cc612270e793bac8ca272 (diff)
downloadmate-session-manager-54d07d5becc1e2e967611c20f14c4dd5b5879be6.tar.bz2
mate-session-manager-54d07d5becc1e2e967611c20f14c4dd5b5879be6.tar.xz
Merge pull request #56 from dnk/restore_display_variable
restore DISPLAY variable
Diffstat (limited to 'mate-session/main.c')
-rw-r--r--mate-session/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-session/main.c b/mate-session/main.c
index f2831a9..b57be06 100644
--- a/mate-session/main.c
+++ b/mate-session/main.c
@@ -581,6 +581,7 @@ int main(int argc, char** argv)
* was specified on the command line.
*/
display_str = gdk_display_get_name (gdk_display_get_default());
+ gsm_util_setenv("DISPLAY", display_str);
/* Some third-party programs rely on MATE_DESKTOP_SESSION_ID to
* detect if MATE is running. We keep this for compatibility reasons.