mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 16:20:03 +01: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:
parent
ff018d88b9
commit
c5ad92077e
1 changed files with 2 additions and 2 deletions
|
|
@ -568,13 +568,13 @@ winClipboardFlushXEvents(HWND hwnd,
|
||||||
winDebug("SelectionNotify - returned data %d left %d\n",
|
winDebug("SelectionNotify - returned data %d left %d\n",
|
||||||
xtpText.nitems, ulReturnBytesLeft);
|
xtpText.nitems, ulReturnBytesLeft);
|
||||||
|
|
||||||
/* Request the selection data */
|
/* Retrieve the selection data and delete the property */
|
||||||
iReturn = XGetWindowProperty(pDisplay,
|
iReturn = XGetWindowProperty(pDisplay,
|
||||||
iWindow,
|
iWindow,
|
||||||
atomLocalProperty,
|
atomLocalProperty,
|
||||||
0,
|
0,
|
||||||
ulReturnBytesLeft,
|
ulReturnBytesLeft,
|
||||||
False,
|
True,
|
||||||
AnyPropertyType,
|
AnyPropertyType,
|
||||||
&xtpText.encoding,
|
&xtpText.encoding,
|
||||||
&xtpText.format,
|
&xtpText.format,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue