Revision: 5609
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5609&view=rev
Author:   hofman
Date:     2009-08-31 21:37:15 +0000 (Mon, 31 Aug 2009)

Log Message:
-----------
reset UI mode when switching to fullscreen mode on another screen than the main 
menu screen, because we may be switching from presentation mode

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2009-08-31 21:25:13 UTC (rev 5608)
+++ trunk/SKMainWindowController.m      2009-08-31 21:37:15 UTC (rev 5609)
@@ -1521,6 +1521,8 @@
     NSScreen *screen = [[self window] screen] ?: [NSScreen mainScreen]; // @@ 
screen: or should we use the main screen?
     if ([screen isEqual:[[NSScreen screens] objectAtIndex:0]])
         SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar);
+    else if ([self isPresentation])
+        SetSystemUIMode(kUIModeNormal, 0);
     
     if ([self isPresentation]) {
         [self exitPresentationMode];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to