Revision: 5068
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5068&view=rev
Author:   hofman
Date:     2008-12-16 16:00:37 +0000 (Tue, 16 Dec 2008)

Log Message:
-----------
move side windows always after moving full screen window

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

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2008-12-16 15:59:45 UTC (rev 5067)
+++ trunk/SKMainWindowController_UI.m   2008-12-16 16:00:37 UTC (rev 5068)
@@ -283,18 +283,14 @@
         if (NSEqualRects(screenFrame, [fullScreenWindow frame]) == NO) {
             [fullScreenWindow setFrame:screenFrame display:NO];
             if ([self isFullScreen]) {
-                if ([[leftSideWindow screen] isEqual:screen] == NO) {
-                    [leftSideWindow orderOut:self];
-                    [leftSideWindow moveToScreen:screen];
-                    [leftSideWindow collapse];
-                    [leftSideWindow orderFront:self];
-                }
-                if ([[rightSideWindow screen] isEqual:screen] == NO) {
-                    [rightSideWindow orderOut:self];
-                    [leftSideWindow moveToScreen:screen];
-                    [rightSideWindow collapse];
-                    [rightSideWindow orderFront:self];
-                }
+                [leftSideWindow orderOut:self];
+                [leftSideWindow moveToScreen:screen];
+                [leftSideWindow collapse];
+                [leftSideWindow orderFront:self];
+                [rightSideWindow orderOut:self];
+                [leftSideWindow moveToScreen:screen];
+                [rightSideWindow collapse];
+                [rightSideWindow orderFront:self];
             }
             [pdfView layoutDocumentView];
             [pdfView setNeedsDisplay:YES];


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

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to