From 0856e1e6040a1a9ed52cd3a06f49dc66fd1a3092 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 9 Mar 2011 14:33:03 +0000 Subject: clipboard thread: use winGetDisplayName to get display name --- xorg-server/hw/xwin/winclipboardthread.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'xorg-server/hw') 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); -- cgit v1.2.3