From 6a8b766e7e6a0fe5f15582efa0ea0a9a68e0abeb Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 14 Mar 2011 15:28:04 +0000 Subject: Solved past problem in windows when used with x2goclient --- xorg-server/hw/xwin/winclipboardwndproc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'xorg-server/hw') 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 -- cgit v1.2.3