Revision: 15313
          http://sourceforge.net/p/skim-app/code/15313
Author:   hofman
Date:     2025-05-27 22:23:06 +0000 (Tue, 27 May 2025)
Log Message:
-----------
force subwindows on top before full screen animation

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2025-05-27 22:18:31 UTC (rev 
15312)
+++ trunk/SKMainWindowController_FullScreen.m   2025-05-27 22:23:06 UTC (rev 
15313)
@@ -573,6 +573,7 @@
     [secondaryPdfView setBackgroundColor:backgroundColor];
     if ([[pdfView document] isLocked] == NO && [fullScreenSetup count])
         [self applyPDFSettings:fullScreenSetup rewind:YES];
+    [self forceSubwindowsOnTop:YES];
 }
 
 - (NSApplicationPresentationOptions)window:(NSWindow *)window 
willUseFullScreenPresentationOptions:(NSApplicationPresentationOptions)proposedOptions
 {
@@ -637,7 +638,6 @@
             fullScreenToolbarOffset = toolbarItemOffset - 
fullScreenToolbarOffset;
     }
     [touchBarController interactionModeChanged];
-    [self forceSubwindowsOnTop:YES];
     mwcFlags.isSwitchingFullScreen = 0;
 }
 
@@ -653,6 +653,7 @@
     }
     if ([[pdfView document] isLocked] == NO || [savedNormalSetup count] == 1)
         [savedNormalSetup removeAllObjects];
+    [self forceSubwindowsOnTop:NO];
     savedNormalWindow = nil;
     interactionMode = SKNormalMode;
     mwcFlags.isSwitchingFullScreen = 0;
@@ -749,7 +750,6 @@
         [secondaryPdfView setBackgroundColor:backgroundColor];
         if ([[pdfView document] isLocked] == NO && [fullScreenSetup count])
             [self applyPDFSettings:fullScreenSetup rewind:YES];
-        [self forceSubwindowsOnTop:YES];
     }
     savedNormalWindow = nil;
     mwcFlags.isSwitchingFullScreen = 0;

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