hw/xwin: In SelectionNotify, delete the property containing returned data after we have retrieved it
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
ff018d88b9
commit
c5ad92077e
|
@ -568,13 +568,13 @@ winClipboardFlushXEvents(HWND hwnd,
|
|||
winDebug("SelectionNotify - returned data %d left %d\n",
|
||||
xtpText.nitems, ulReturnBytesLeft);
|
||||
|
||||
/* Request the selection data */
|
||||
/* Retrieve the selection data and delete the property */
|
||||
iReturn = XGetWindowProperty(pDisplay,
|
||||
iWindow,
|
||||
atomLocalProperty,
|
||||
0,
|
||||
ulReturnBytesLeft,
|
||||
False,
|
||||
True,
|
||||
AnyPropertyType,
|
||||
&xtpText.encoding,
|
||||
&xtpText.format,
|
||||
|
|
Loading…
Reference in New Issue
Block a user