Revision: 15277 http://sourceforge.net/p/skim-app/code/15277 Author: hofman Date: 2025-05-24 20:34:56 +0000 (Sat, 24 May 2025) Log Message: ----------- Set window level of presentation window after setting it as the window just to be sure
Modified Paths: -------------- trunk/SKMainWindowController_FullScreen.m Modified: trunk/SKMainWindowController_FullScreen.m =================================================================== --- trunk/SKMainWindowController_FullScreen.m 2025-05-24 16:18:27 UTC (rev 15276) +++ trunk/SKMainWindowController_FullScreen.m 2025-05-24 20:34:56 UTC (rev 15277) @@ -277,8 +277,9 @@ [self setWindow:presentationWindow]; + [presentationWindow setLevel:NSPopUpMenuWindowLevel]; [presentationWindow setDelegate:self]; - + // prevent sleep if (activity == nil) activity = [[NSProcessInfo processInfo] beginActivityWithOptions:NSActivityUserInitiated | NSActivityIdleDisplaySleepDisabled | NSActivityIdleSystemSleepDisabled reason:@"Presentation"]; @@ -386,8 +387,8 @@ [self setWindow:mainWindow]; [mainWindow setAlphaValue:0.0]; + [mainWindow setLevel:NSNormalWindowLevel]; [mainWindow setAnimationBehavior:NSWindowAnimationBehaviorNone]; - [mainWindow setLevel:NSNormalWindowLevel]; if (NSPointInRect(SKCenterPoint([mainWindow frame]), [[presentationWindow screen] frame]) && moveToTab == NO) { NSWindowCollectionBehavior collectionBehavior = [mainWindow collectionBehavior]; // trick to make sure the main window shows up in the same space as the fullscreen window 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