Revision: 14233
          http://sourceforge.net/p/skim-app/code/14233
Author:   hofman
Date:     2024-04-23 15:29:34 +0000 (Tue, 23 Apr 2024)
Log Message:
-----------
set managed collection behavior for presentation window

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

Modified: trunk/SKFullScreenWindow.m
===================================================================
--- trunk/SKFullScreenWindow.m  2024-04-23 14:39:21 UTC (rev 14232)
+++ trunk/SKFullScreenWindow.m  2024-04-23 15:29:34 UTC (rev 14233)
@@ -52,6 +52,8 @@
         // appartently this is needed for secondary screens
         [self setFrame:screenFrame display:NO];
         [self setAnimationBehavior:NSWindowAnimationBehaviorNone];
+        [self setCollectionBehavior:NSWindowCollectionBehaviorManaged];
+        [[self contentView] setWantsLayer:YES];
     }
     return self;
 }

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2024-04-23 14:39:21 UTC (rev 
14232)
+++ trunk/SKMainWindowController_FullScreen.m   2024-04-23 15:29:34 UTC (rev 
14233)
@@ -406,7 +406,6 @@
     }
     
     NSWindow *presentationWindow = [[SKFullScreenWindow alloc] 
initWithScreen:screen ?: [mainWindow screen]];
-    [[presentationWindow contentView] setWantsLayer:YES];
     [presentationWindow setAlphaValue:0.0];
     [self displayStaticContentInPresentationWindow:presentationWindow];
     [presentationWindow orderFront: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