Revision: 15280
          http://sourceforge.net/p/skim-app/code/15280
Author:   hofman
Date:     2025-05-25 08:41:30 +0000 (Sun, 25 May 2025)
Log Message:
-----------
set delegegate of presentation window after animation, to make sure we don't 
get main window switch notifications while setting up

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2025-05-25 08:37:36 UTC (rev 
15279)
+++ trunk/SKMainWindowController_FullScreen.m   2025-05-25 08:41:30 UTC (rev 
15280)
@@ -277,7 +277,6 @@
     
     [self setWindow:presentationWindow];
     
-    [presentationWindow setDelegate:self];
     [presentationWindow setLevel:NSPopUpMenuWindowLevel];
     
     // prevent sleep
@@ -315,6 +314,8 @@
                 [presentationWindow setHasShadow:YES];
             }
             
+            [presentationWindow setDelegate:self];
+            
             [presentationView didOpen];
             
             [touchBarController interactionModeChanged];

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to