diff options
Diffstat (limited to 'hw/xwin/winclipboard/thread.c')
-rw-r--r-- | hw/xwin/winclipboard/thread.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/xwin/winclipboard/thread.c b/hw/xwin/winclipboard/thread.c index 15a515649..2b9a6f34f 100644 --- a/hw/xwin/winclipboard/thread.c +++ b/hw/xwin/winclipboard/thread.c @@ -250,7 +250,9 @@ winClipboardProc(Bool fUseUnicode, char *szDisplay) * because there may be events in local data structures * already. */ - winClipboardFlushXEvents(hwnd, iWindow, pDisplay, fUseUnicode, &atoms); + ClipboardConversionData data; + data.fUseUnicode = fUseUnicode; + winClipboardFlushXEvents(hwnd, iWindow, pDisplay, &data, &atoms); /* Pre-flush Windows messages */ if (!winClipboardFlushWindowsMessageQueue(hwnd)) { @@ -317,7 +319,7 @@ winClipboardProc(Bool fUseUnicode, char *szDisplay) /* Process X events */ winClipboardFlushXEvents(hwnd, - iWindow, pDisplay, fUseUnicode, &atoms); + iWindow, pDisplay, &data, &atoms); } #ifdef HAS_DEVWINDOWS |