aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-14 15:28:04 +0000
committermarha <marha@users.sourceforge.net>2011-03-14 15:28:04 +0000
commit6a8b766e7e6a0fe5f15582efa0ea0a9a68e0abeb (patch)
treefbc544621abd90d5d540bdb3e837bb397e3c31a8
parent045ac1c8f15841b705aed17269ee68f21971a844 (diff)
downloadvcxsrv-6a8b766e7e6a0fe5f15582efa0ea0a9a68e0abeb.tar.gz
vcxsrv-6a8b766e7e6a0fe5f15582efa0ea0a9a68e0abeb.tar.bz2
vcxsrv-6a8b766e7e6a0fe5f15582efa0ea0a9a68e0abeb.zip
Solved past problem in windows when used with x2goclient
-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