diff options
author | marha <marha@users.sourceforge.net> | 2014-10-06 10:07:50 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-10-06 10:09:07 +0200 |
commit | c774a734a9d990789abfe25c2f2dcbd74f4afe44 (patch) | |
tree | eae4a2a0f19cc59dda6e4dadf96de32d22b3e174 /xorg-server/hw/xwin/InitOutput.c | |
parent | 37facdad11007fb89d30d7de5328ad900de7760d (diff) | |
download | vcxsrv-c774a734a9d990789abfe25c2f2dcbd74f4afe44.tar.gz vcxsrv-c774a734a9d990789abfe25c2f2dcbd74f4afe44.tar.bz2 vcxsrv-c774a734a9d990789abfe25c2f2dcbd74f4afe44.zip |
Some more synchronisation with released branch
Diffstat (limited to 'xorg-server/hw/xwin/InitOutput.c')
-rwxr-xr-x | xorg-server/hw/xwin/InitOutput.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/xorg-server/hw/xwin/InitOutput.c b/xorg-server/hw/xwin/InitOutput.c index 640195993..9622db5a2 100755 --- a/xorg-server/hw/xwin/InitOutput.c +++ b/xorg-server/hw/xwin/InitOutput.c @@ -61,24 +61,11 @@ typedef HRESULT (__stdcall * SHGETFOLDERPATHPROC)(HWND hwndOwner, /* * References to external symbols */ -#ifdef XWIN_CLIPBOARD -extern Bool g_fUnicodeClipboard; -extern Bool g_fClipboardLaunched; -extern Bool g_fClipboardStarted; -extern pthread_t g_ptClipboardProc; -extern HWND g_hwndClipboard; -extern Bool g_fClipboard; -#endif /* * Function prototypes */ -#ifdef XWIN_CLIPBOARD -static void - winClipboardShutdown(void); -#endif - static Bool winCheckDisplayNumber(void); @@ -120,29 +107,6 @@ static PixmapFormatRec g_PixmapFormats[] = { const int NUMFORMATS = sizeof(g_PixmapFormats) / sizeof(g_PixmapFormats[0]); -#ifdef XWIN_CLIPBOARD -static void -winClipboardShutdown(void) -{ - /* Close down clipboard resources */ - if (g_fClipboard && g_fClipboardLaunched && g_fClipboardStarted) { - /* Synchronously destroy the clipboard window */ - if (g_hwndClipboard != NULL) { - g_fClipboardStarted=FALSE; /* This is to avoid dead-locls caused by the clipboard thread still doing some stuff */ - SendMessage(g_hwndClipboard, WM_DESTROY, 0, 0); - /* NOTE: g_hwndClipboard is set to NULL in winclipboardthread.c */ - } - else - return; - - /* Wait for the clipboard thread to exit */ - pthread_join(g_ptClipboardProc, NULL); - - winDebug("winClipboardShutdown - Clipboard thread has exited.\n"); - } -} -#endif - static const ExtensionModule xwinExtensions[] = { #ifdef GLXEXT { GlxExtensionInit, "GLX", &noGlxExtension }, |