Revision: 15258 http://sourceforge.net/p/skim-app/code/15258 Author: hofman Date: 2025-05-23 09:18:33 +0000 (Fri, 23 May 2025) Log Message: ----------- set normal window before showing window
Modified Paths: -------------- trunk/SKMainWindowController_FullScreen.m Modified: trunk/SKMainWindowController_FullScreen.m =================================================================== --- trunk/SKMainWindowController_FullScreen.m 2025-05-23 09:14:06 UTC (rev 15257) +++ trunk/SKMainWindowController_FullScreen.m 2025-05-23 09:18:33 UTC (rev 15258) @@ -220,6 +220,7 @@ [self setWindow:mainWindow]; [mainWindow setAlphaValue:0.0]; [mainWindow setAnimationBehavior:NSWindowAnimationBehaviorNone]; + [mainWindow setLevel:NSNormalWindowLevel]; if (NSPointInRect(SKCenterPoint([mainWindow frame]), [[presentationWindow screen] frame])) { NSWindowCollectionBehavior collectionBehavior = [mainWindow collectionBehavior]; // trick to make sure the main window shows up in the same space as the fullscreen window @@ -229,7 +230,6 @@ } else { [mainWindow makeKeyAndOrderFront:nil]; } - [mainWindow setLevel:NSNormalWindowLevel]; [mainWindow display]; if ([pdfView window] == mainWindow) [mainWindow makeFirstResponder:pdfView]; 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