summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-08-09 14:37:58 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-08-09 14:37:58 (GMT)
commit254e403df2bc2ca08cef6990d63dff1b90f8d167 (patch)
treef9e1f1fd697ed0a32915302eb00a6eb7e6119f89 /unix
parent8f779e8ca66a2aa78cb7b5a0a109051e250d7ec3 (diff)
parent22be4df4821b76e5bd1acb19c47e6492bdf8f58b (diff)
downloadtk-254e403df2bc2ca08cef6990d63dff1b90f8d167.zip
tk-254e403df2bc2ca08cef6990d63dff1b90f8d167.tar.gz
tk-254e403df2bc2ca08cef6990d63dff1b90f8d167.tar.bz2
merge 8.6; update changes
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixSelect.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/tkUnixSelect.c b/unix/tkUnixSelect.c
index 4bb462e..dacbd99 100644
--- a/unix/tkUnixSelect.c
+++ b/unix/tkUnixSelect.c
@@ -166,6 +166,13 @@ TkSelGetSelection(
pendingRetrievals = &retr;
/*
+ * Delete the property to indicate that no parameters are supplied for
+ * the conversion request.
+ */
+
+ XDeleteProperty(winPtr->display, retr.winPtr->window, retr.property);
+
+ /*
* Initiate the request for the selection. Note: can't use TkCurrentTime
* for the time. If we do, and this application hasn't received any X
* events in a long time, the current time will be way in the past and