diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-06-17 01:30:09 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2014-09-13 14:06:08 +0100 |
commit | 42d13810822f6b48771d77b09c0ef7cc2356ede5 (patch) | |
tree | 5a785a88acb29e4609d2be25b8e4feda776fb0a4 /hw/xwin/winclipboardthread.c | |
parent | 290dbff0753ddf60f04da92d5a408c567a2ee3e0 (diff) |
hw/xwin: Hoist setting of g_fClipboardStarted flag up one level
Hoist the setting of g_fClipboardStarted flag up one level.
Also move up the clearing of the g_fClipboardLaunched at the end of clipboard
function.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw/xwin/winclipboardthread.c')
-rw-r--r-- | hw/xwin/winclipboardthread.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/xwin/winclipboardthread.c b/hw/xwin/winclipboardthread.c index fd1fc0731..2ef73bde9 100644 --- a/hw/xwin/winclipboardthread.c +++ b/hw/xwin/winclipboardthread.c @@ -52,8 +52,6 @@ */ extern Bool g_fUnicodeClipboard; -extern Bool g_fClipboardStarted; -extern Bool g_fClipboardLaunched; extern Bool g_fClipboard; extern HWND g_hwndClipboard; extern void *g_pClipboardDisplay; @@ -274,9 +272,6 @@ winClipboardProc(void *pvNotUsed) ErrorF("winClipboardProc - winClipboardFlushWindowsMessageQueue failed\n"); } - /* Signal that the clipboard client has started */ - g_fClipboardStarted = TRUE; - /* Loop for X events */ while (1) { /* Setup the file descriptor set */ @@ -395,8 +390,6 @@ winClipboardProc(void *pvNotUsed) #endif /* global clipboard variable reset */ - g_fClipboardLaunched = FALSE; - g_fClipboardStarted = FALSE; g_iClipboardWindow = None; g_pClipboardDisplay = NULL; g_hwndClipboard = NULL; |