Revision: 16671
          http://sourceforge.net/p/skim-app/code/16671
Author:   hofman
Date:     2026-10-18 15:49:22 +0000 (Sun, 18 Oct 2026)
Log Message:
-----------
pass screen for presentation window instead of window

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2026-10-18 15:46:46 UTC (rev 
16670)
+++ trunk/SKMainWindowController_FullScreen.m   2026-10-18 15:49:22 UTC (rev 
16671)
@@ -172,7 +172,7 @@
     return mainScreen;
 }
 
-- (void)showNotesForPresentationWindow:(NSWindow *)window {
+- (void)showNotesForPresentationScreen:(NSScreen *)presentationScreen {
     NSDocument *notesDocument = [self presentationNotesDocument];
     if (notesDocument == nil)
         return;
@@ -191,7 +191,7 @@
         
         [preview setDelegate:self];
         
-        NSScreen *screen = [self 
screenForPresentationWindowAvoidingScreen:[window screen]];
+        NSScreen *screen = [self 
screenForPresentationWindowAvoidingScreen:presentationScreen];
         [preview setPdfDocument:[pdfView document] previewPageNumber:pageIndex 
displayOnScreen:screen];
     
         [[self document] addWindowController:preview];
@@ -299,7 +299,7 @@
     
     [presentationWindow orderFront:nil];
     
-    [self showNotesForPresentationWindow:presentationWindow];
+    [self showNotesForPresentationScreen:screen];
     
     BOOL shouldFadeOut = NO;
     if ([[normalWindow tabbedWindows] count] > 1) {

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

Reply via email to