aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winclipboardwndproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/winclipboardwndproc.c')
-rw-r--r--xorg-server/hw/xwin/winclipboardwndproc.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/xorg-server/hw/xwin/winclipboardwndproc.c b/xorg-server/hw/xwin/winclipboardwndproc.c
index 3d324e2d8..50a63001f 100644
--- a/xorg-server/hw/xwin/winclipboardwndproc.c
+++ b/xorg-server/hw/xwin/winclipboardwndproc.c
@@ -138,10 +138,9 @@ winProcessXEventsTimeout (HWND hwnd, int iWindow, Display *pDisplay,
pDisplay,
fUseUnicode,
TRUE);
- if (WIN_XEVENTS_NOTIFY == iReturn
- || WIN_XEVENTS_CONVERT == iReturn)
+ if (WIN_XEVENTS_NOTIFY == iReturn)
{
- /* Bail out if convert or notify processed */
+ /* Bail out if notify processed */
return iReturn;
}
}
@@ -487,15 +486,12 @@ winClipboardWindowProc (HWND hwnd, UINT message,
}
/* Process the SelectionNotify event */
- do {
- iReturn = winProcessXEventsTimeout (hwnd,
+ iReturn = winProcessXEventsTimeout (hwnd,
iWindow,
pDisplay,
fConvertToUnicode,
WIN_POLL_TIMEOUT);
- } while (WIN_XEVENTS_CONVERT == iReturn);
-
/*
* The last call to winProcessXEventsTimeout
* from above had better have seen a notify event, or else we