Revision: 15259
          http://sourceforge.net/p/skim-app/code/15259
Author:   hofman
Date:     2025-05-23 09:38:14 +0000 (Fri, 23 May 2025)
Log Message:
-----------
make sure collection behavior of main windo is the default before moving it to 
a tab

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2025-05-23 09:18:33 UTC (rev 
15258)
+++ trunk/SKMainWindowController_FullScreen.m   2025-05-23 09:38:14 UTC (rev 
15259)
@@ -496,6 +496,7 @@
         NSUInteger tabIndex = [[savedNormalSetup objectForKey:TABINDEX_KEY] 
unsignedIntegerValue];
         noFadeIn = YES;
         [mainWindow setAlphaValue:1.0];
+        [mainWindow setCollectionBehavior:[mainWindow collectionBehavior] & 
~NSWindowCollectionBehaviorMoveToActiveSpace];
         [tabGroup insertWindow:mainWindow atIndex:MIN(tabIndex, [[tabGroup 
windows] count])];
     }
     

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