summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXClipboard.c
diff options
context:
space:
mode:
authorculler <culler>2018-08-19 20:50:47 (GMT)
committerculler <culler>2018-08-19 20:50:47 (GMT)
commitdb9a5834c283e4cb27033aefd0c4475a47381a96 (patch)
tree9ed3f84cc746383248d6e1255801d6ed9dfe8971 /macosx/tkMacOSXClipboard.c
parent818f0229adfce8e7d51b97ec1663174ead547aab (diff)
downloadtk-db9a5834c283e4cb27033aefd0c4475a47381a96.zip
tk-db9a5834c283e4cb27033aefd0c4475a47381a96.tar.gz
tk-db9a5834c283e4cb27033aefd0c4475a47381a96.tar.bz2
Removed the call to TkSuspendClipboard when the app is deactivated.
Diffstat (limited to 'macosx/tkMacOSXClipboard.c')
-rw-r--r--macosx/tkMacOSXClipboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXClipboard.c b/macosx/tkMacOSXClipboard.c
index 809cb1b..4bd39ae 100644
--- a/macosx/tkMacOSXClipboard.c
+++ b/macosx/tkMacOSXClipboard.c
@@ -70,7 +70,6 @@ static Tk_Window clipboardOwner = NULL;
if (clipboardOwner && [[NSPasteboard generalPasteboard] changeCount] !=
changeCount) {
TkDisplay *dispPtr = TkGetDisplayList();
-
if (dispPtr) {
XEvent event;
event.xany.type = SelectionClear;
@@ -300,7 +299,7 @@ TkSelPropProc(
* None.
*
* Side effects:
- * The local scrap is moved to the global scrap.
+ * The value of changeCount is synchronized.
*
*----------------------------------------------------------------------
*/