diff options
author | Stefano Karapetsas <[email protected]> | 2014-07-01 10:14:30 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-07-01 10:14:30 +0200 |
commit | 54d07d5becc1e2e967611c20f14c4dd5b5879be6 (patch) | |
tree | 70f341a82e00f72471549dbc4f4e867bf952333d /mate-session | |
parent | 796701300b69c4b008f92e55cd11cf8edc3497eb (diff) | |
parent | 67e67c468546c482221cc612270e793bac8ca272 (diff) | |
download | mate-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')
-rw-r--r-- | mate-session/main.c | 1 |
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. |