Revision: 6627
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6627&view=rev
Author:   hofman
Date:     2010-07-17 16:44:12 +0000 (Sat, 17 Jul 2010)

Log Message:
-----------
destroy fullscreen windows after using them, as they may need to be associated 
to a different space the next time, which would expose a spaces bug

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2010-07-17 12:14:44 UTC (rev 6626)
+++ trunk/SKMainWindowController.m      2010-07-17 16:44:12 UTC (rev 6627)
@@ -1269,6 +1269,7 @@
             [leftSideWindow setAlphaValue:1.0];
             [leftSideWindow setEnabled:YES];
         }
+        SKDESTROY(leftSideWindow);
     }
 }
 
@@ -1290,6 +1291,7 @@
             [rightSideWindow setAlphaValue:1.0];
             [rightSideWindow setEnabled:YES];
         }
+        SKDESTROY(rightSideWindow);
     }
 }
 
@@ -1541,6 +1543,8 @@
     [mainWindow setCollectionBehavior:NSWindowCollectionBehaviorDefault];
     [mainWindow display];
     [fullScreenWindow fadeOut];
+    [[fullScreenWindow retain] autorelease];
+    SKDESTROY(fullScreenWindow);
     [mainWindow makeFirstResponder:pdfView];
     [mainWindow recalculateKeyViewLoop];
     [mainWindow setDelegate:self];


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

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to