diff options
author | marha <marha@users.sourceforge.net> | 2009-11-20 13:01:45 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-11-20 13:01:45 +0000 |
commit | d2d9977f1153b5222b34859a2cb22b957bfe3221 (patch) | |
tree | a732c0c90bbd06bbf003e23a3ec08300e154a51d /xorg-server/hw/xwin/winmultiwindowwm.c | |
parent | da051c6af428703e746c6a1677e1dce032b86c41 (diff) | |
download | vcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.tar.gz vcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.tar.bz2 vcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.zip |
Native glx is compiling and running now (although no acceleration is happening... to be investigated further)
Diffstat (limited to 'xorg-server/hw/xwin/winmultiwindowwm.c')
-rw-r--r-- | xorg-server/hw/xwin/winmultiwindowwm.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwm.c b/xorg-server/hw/xwin/winmultiwindowwm.c index f4b396c48..332b41954 100644 --- a/xorg-server/hw/xwin/winmultiwindowwm.c +++ b/xorg-server/hw/xwin/winmultiwindowwm.c @@ -836,8 +836,7 @@ winMultiWindowXMsgProc (void *pArg) XSetIOErrorHandler (winMultiWindowXMsgProcIOErrorHandler);
/* Setup the display connection string x */
- snprintf (pszDisplay,
- 512, "127.0.0.1:%s.%d", display, (int)pProcArg->dwScreen);
+ winGetDisplayName(pszDisplay, (int)pProcArg->dwScreen);
/* Print the display connection string */
winDebug ("winMultiWindowXMsgProc - DISPLAY=%s\n", pszDisplay);
@@ -1211,11 +1210,7 @@ winInitMultiWindowWM (WMInfoPtr pWMInfo, WMProcArgPtr pProcArg) XSetIOErrorHandler (winMultiWindowWMIOErrorHandler);
/* Setup the display connection string x */
- snprintf (pszDisplay,
- 512,
- "127.0.0.1:%s.%d",
- display,
- (int) pProcArg->dwScreen);
+ winGetDisplayName(pszDisplay, (int)pProcArg->dwScreen);
/* Print the display connection string */
winDebug ("winInitMultiWindowWM - DISPLAY=%s\n", pszDisplay);
|