Revision: 7080
http://skim-app.svn.sourceforge.net/skim-app/?rev=7080&view=rev
Author: hofman
Date: 2011-01-25 16:22:04 +0000 (Tue, 25 Jan 2011)
Log Message:
-----------
set fullscreen window level later when fading out, because child windows mess
up the window ordering
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2011-01-24 11:03:32 UTC (rev 7079)
+++ trunk/SKMainWindowController.m 2011-01-25 16:22:04 UTC (rev 7080)
@@ -1395,11 +1395,11 @@
- (void)fadeOutFullScreenWindow {
SKMainFullScreenWindow *fullScreenWindow = (SKMainFullScreenWindow
*)[[[self window] retain] autorelease];
- [fullScreenWindow setLevel:NSPopUpMenuWindowLevel];
[self setWindow:mainWindow];
// trick to make sure the main window shows up in the same space as the
fullscreen window
[fullScreenWindow addChildWindow:mainWindow ordered:NSWindowBelow];
[fullScreenWindow removeChildWindow:mainWindow];
+ [fullScreenWindow setLevel:NSPopUpMenuWindowLevel];
// these can change due to the child window trick
[mainWindow setLevel:NSNormalWindowLevel];
[mainWindow setCollectionBehavior:NSWindowCollectionBehaviorDefault];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit