Revision: 13543
          http://sourceforge.net/p/skim-app/code/13543
Author:   hofman
Date:     2023-07-28 09:06:11 +0000 (Fri, 28 Jul 2023)
Log Message:
-----------
only check for menu bar in fullscreen on 12.0+

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2023-07-27 15:54:47 UTC (rev 
13542)
+++ trunk/SKMainWindowController_FullScreen.m   2023-07-28 09:06:11 UTC (rev 
13543)
@@ -617,7 +617,8 @@
 }
 
 - (NSApplicationPresentationOptions)window:(NSWindow *)window 
willUseFullScreenPresentationOptions:(NSApplicationPresentationOptions)proposedOptions
 {
-    showMenuBarInFullScreen = (proposedOptions & 
NSApplicationPresentationAutoHideMenuBar) == 0;
+    if (RUNNING_AFTER(11_0))
+        showMenuBarInFullScreen = (proposedOptions & 
NSApplicationPresentationAutoHideMenuBar) == 0;
     if (autoHideToolbarInFullScreen)
         return proposedOptions | NSApplicationPresentationAutoHideToolbar;
     return proposedOptions;

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