diff options
author | Denis Gorodnichev <[email protected]> | 2014-07-01 09:50:14 +0400 |
---|---|---|
committer | Denis Gorodnichev <[email protected]> | 2014-07-01 09:50:14 +0400 |
commit | 67e67c468546c482221cc612270e793bac8ca272 (patch) | |
tree | 70f341a82e00f72471549dbc4f4e867bf952333d /mate-session/main.c | |
parent | 796701300b69c4b008f92e55cd11cf8edc3497eb (diff) | |
download | mate-session-manager-67e67c468546c482221cc612270e793bac8ca272.tar.bz2 mate-session-manager-67e67c468546c482221cc612270e793bac8ca272.tar.xz |
restore DISPLAY variable
Diffstat (limited to 'mate-session/main.c')
-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. |