aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-09 14:33:03 +0000
committermarha <marha@users.sourceforge.net>2011-03-09 14:33:03 +0000
commit0856e1e6040a1a9ed52cd3a06f49dc66fd1a3092 (patch)
tree2e65a4b2bd82ca2bb377764782d1cfddfd3ec410 /xorg-server
parentc736561c84d9ac30775ff74ef889b9a67c81a12a (diff)
downloadvcxsrv-0856e1e6040a1a9ed52cd3a06f49dc66fd1a3092.tar.gz
vcxsrv-0856e1e6040a1a9ed52cd3a06f49dc66fd1a3092.tar.bz2
vcxsrv-0856e1e6040a1a9ed52cd3a06f49dc66fd1a3092.zip
clipboard thread: use winGetDisplayName to get display name
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/hw/xwin/winclipboardthread.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/xorg-server/hw/xwin/winclipboardthread.c b/xorg-server/hw/xwin/winclipboardthread.c
index de63f547e..b3ffff689 100644
--- a/xorg-server/hw/xwin/winclipboardthread.c
+++ b/xorg-server/hw/xwin/winclipboardthread.c
@@ -166,10 +166,7 @@ winClipboardProc (void *pvNotUsed)
* for all screens on the display. That is why there is only
* one clipboard client thread.
*/
- snprintf (szDisplay,
- 512,
- "127.0.0.1:%s.0",
- display);
+ winGetDisplayName(szDisplay,0);
/* Print the display connection string */
winDebug ("winClipboardProc - DISPLAY=%s\n", szDisplay);