diff options
author | marha <marha@users.sourceforge.net> | 2010-01-02 15:39:45 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-01-02 15:39:45 +0000 |
commit | 7397e255c2e82618ab55ef2c81636c8e688b1225 (patch) | |
tree | 33c37437b5a6febce17fcdb98b6398c422525b52 /xorg-server | |
parent | 351a21213a966c389574b50abf13a974c0aae022 (diff) | |
download | vcxsrv-7397e255c2e82618ab55ef2c81636c8e688b1225.tar.gz vcxsrv-7397e255c2e82618ab55ef2c81636c8e688b1225.tar.bz2 vcxsrv-7397e255c2e82618ab55ef2c81636c8e688b1225.zip |
Always use screen 0 to start windows clients.
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/hw/xwin/winprefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/winprefs.c b/xorg-server/hw/xwin/winprefs.c index 4333d5fd4..2472ea5aa 100644 --- a/xorg-server/hw/xwin/winprefs.c +++ b/xorg-server/hw/xwin/winprefs.c @@ -783,8 +783,8 @@ LoadPreferences (void) } /* Setup a DISPLAY environment variable, need to allocate on heap */ - /* because putenv doesn't copy the argument... */ - winGetDisplayName(szDisplay, atoi(display)); + /* because putenv doesn't copy the argument... Always use screen 0 */ + winGetDisplayName(szDisplay, 0); szEnvDisplay = (char *)(malloc(strlen(szDisplay)+strlen("DISPLAY=")+1)); if (szEnvDisplay) { |