mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-11 12:22:49 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user