Revision: 15539
http://sourceforge.net/p/skim-app/code/15539
Author: hofman
Date: 2025-06-24 09:37:26 +0000 (Tue, 24 Jun 2025)
Log Message:
-----------
set delegate of presentation window before animation, so it can get
windowWillClose notifications
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2025-06-24 09:09:52 UTC (rev
15538)
+++ trunk/SKMainWindowController_FullScreen.m 2025-06-24 09:37:26 UTC (rev
15539)
@@ -280,6 +280,8 @@
[self setWindow:presentationWindow];
+ [presentationWindow setDelegate:self];
+
// prevent sleep
if (activity == nil)
activity = [[NSProcessInfo processInfo]
beginActivityWithOptions:NSActivityUserInitiated |
NSActivityIdleDisplaySleepDisabled | NSActivityIdleSystemSleepDisabled
reason:@"Presentation"];
@@ -312,8 +314,6 @@
[presentationWindow setHasShadow:YES];
}
- [presentationWindow setDelegate:self];
-
[presentationView didOpen];
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit