Revision: 13386
http://sourceforge.net/p/skim-app/code/13386
Author: hofman
Date: 2023-03-17 15:13:04 +0000 (Fri, 17 Mar 2023)
Log Message:
-----------
make sure animationWindow is cleaned up when fullscreen transition fails
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2023-03-17 15:11:26 UTC (rev
13385)
+++ trunk/SKMainWindowController_FullScreen.m 2023-03-17 15:13:04 UTC (rev
13386)
@@ -677,6 +677,7 @@
- (void)windowDidFailToEnterFullScreen:(NSWindow *)window {
if ([[pdfView document] isLocked] == NO || [savedNormalSetup count] == 1)
[savedNormalSetup removeAllObjects];
+ SKDESTROY(animationWindow);
interactionMode = SKNormalMode;
mwcFlags.isSwitchingFullScreen = 0;
}
@@ -777,6 +778,7 @@
[self applyLeftSideWidth:0.0 rightSideWidth:0.0];
[self forceSubwindowsOnTop:YES];
}
+ SKDESTROY(animationWindow);
mwcFlags.isSwitchingFullScreen = 0;
mwcFlags.wantsPresentation = 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