aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xorg-server/hw/xwin/winclipboardwndproc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winclipboardwndproc.c b/xorg-server/hw/xwin/winclipboardwndproc.c
index 074a4f52d..57413b1c3 100644
--- a/xorg-server/hw/xwin/winclipboardwndproc.c
+++ b/xorg-server/hw/xwin/winclipboardwndproc.c
@@ -488,11 +488,14 @@ winClipboardWindowProc (HWND hwnd, UINT message,
}
/* Process the SelectionNotify event */
- iReturn = winProcessXEventsTimeout (hwnd,
+ do {
+ iReturn = winProcessXEventsTimeout (hwnd,
iWindow,
pDisplay,
fConvertToUnicode,
WIN_POLL_TIMEOUT);
+ } while (WIN_XEVENTS_CONVERT == iReturn);
+
/*
* The last call to winProcessXEventsTimeout