Revision: 6625
http://skim-app.svn.sourceforge.net/skim-app/?rev=6625&view=rev
Author: hofman
Date: 2010-07-17 11:27:49 +0000 (Sat, 17 Jul 2010)
Log Message:
-----------
trick to move the main window to the same space as the fullscreen window on
fadeout
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-07-17 10:58:52 UTC (rev 6624)
+++ trunk/SKMainWindowController.m 2010-07-17 11:27:49 UTC (rev 6625)
@@ -1533,7 +1533,10 @@
SetSystemUIMode(kUIModeNormal, 0);
[self setWindow:mainWindow];
- [mainWindow orderWindow:NSWindowBelow relativeTo:[fullScreenWindow
windowNumber]];
+ // 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];
+ [mainWindow setLevel:NSNormalWindowLevel]; // this can change due to the
child window trick
[mainWindow display];
[fullScreenWindow fadeOut];
[mainWindow makeFirstResponder:pdfView];
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