winex11.drv: Flush property notify events before deleting properties.
This commit is contained in:
parent
4013dc85e9
commit
47217eaa83
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue