summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/tkMacOSXClipboard.c3
-rw-r--r--macosx/tkMacOSXWindowEvent.c1
2 files changed, 1 insertions, 3 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.
*
*----------------------------------------------------------------------
*/
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c
index bbfe5b7..2596776 100644
--- a/macosx/tkMacOSXWindowEvent.c
+++ b/macosx/tkMacOSXWindowEvent.c
@@ -256,7 +256,6 @@ extern NSString *NSWindowDidOrderOffScreenNotification;
#ifdef TK_MAC_DEBUG_NOTIFICATIONS
TKLog(@"-[%@(%p) %s] %@", [self class], self, _cmd, notification);
#endif
- TkSuspendClipboard();
}
- (void) applicationShowHide: (NSNotification *) notification