Revision: 13553
          http://sourceforge.net/p/skim-app/code/13553
Author:   hofman
Date:     2023-07-31 14:37:20 +0000 (Mon, 31 Jul 2023)
Log Message:
-----------
check for DidResignKey notification

Modified Paths:
--------------
    trunk/SKPDFView.m

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2023-07-31 14:34:37 UTC (rev 13552)
+++ trunk/SKPDFView.m   2023-07-31 14:37:20 UTC (rev 13553)
@@ -3308,9 +3308,8 @@
         if (currentAnnotation)
             [self setNeedsDisplayForAnnotation:currentAnnotation];
     }
-    if ([[notification name] isEqualToString:NSWindowDidResignKeyNotification])
+    if ([[notification name] 
isEqualToString:NSWindowDidResignKeyNotification]) {
         [self setTemporaryToolMode:SKNoToolMode];
-    if (inKeyWindow == NO) {
         if (interactionMode == SKPresentationMode) {
             [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(showNavWindow) object:nil];
             [[self class] cancelPreviousPerformRequestsWithTarget:self 
selector:@selector(doAutoHide) object:nil];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to