diff options
author | culler <culler> | 2018-08-19 20:50:47 (GMT) |
---|---|---|
committer | culler <culler> | 2018-08-19 20:50:47 (GMT) |
commit | db9a5834c283e4cb27033aefd0c4475a47381a96 (patch) | |
tree | 9ed3f84cc746383248d6e1255801d6ed9dfe8971 /macosx | |
parent | 818f0229adfce8e7d51b97ec1663174ead547aab (diff) | |
download | tk-db9a5834c283e4cb27033aefd0c4475a47381a96.zip tk-db9a5834c283e4cb27033aefd0c4475a47381a96.tar.gz tk-db9a5834c283e4cb27033aefd0c4475a47381a96.tar.bz2 |
Removed the call to TkSuspendClipboard when the app is deactivated.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXClipboard.c | 3 | ||||
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 1 |
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 |