Module: wine Branch: master Commit: 47217eaa8357df49a4eb1751319b207e3a1f3c23 URL: http://source.winehq.org/git/wine.git/?a=commit;h=47217eaa8357df49a4eb175131...
Author: Vincent Povirk vincent@codeweavers.com Date: Thu Jan 3 17:00:40 2013 -0600
winex11.drv: Flush property notify events before deleting properties.
---
dlls/winex11.drv/clipboard.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c index 1da3a22..0df355a 100644 --- a/dlls/winex11.drv/clipboard.c +++ b/dlls/winex11.drv/clipboard.c @@ -2360,12 +2360,12 @@ static BOOL X11DRV_CLIPBOARD_ReadProperty(Display *display, Window w, Atom prop, if (prop == None) return FALSE;
- if (!X11DRV_CLIPBOARD_GetProperty(display, w, prop, &atype, data, datasize)) - return FALSE; - while (XCheckTypedWindowEvent(display, w, PropertyNotify, &xe)) ;
+ if (!X11DRV_CLIPBOARD_GetProperty(display, w, prop, &atype, data, datasize)) + return FALSE; + if (atype == x11drv_atom(INCR)) { unsigned char *buf = *data;