Revision: 2501 http://skim-app.svn.sourceforge.net/skim-app/?rev=2501&view=rev Author: hofman Date: 2007-07-14 05:34:25 -0700 (Sat, 14 Jul 2007)
Log Message: ----------- Hide blanking windows on deactivate. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-14 11:06:06 UTC (rev 2500) +++ trunk/SKMainWindowController.m 2007-07-14 12:34:25 UTC (rev 2501) @@ -1675,6 +1675,7 @@ [window setFrame:[screenToBlank frame] display:YES]; [window orderFront:nil]; [window setReleasedWhenClosed:YES]; + [window setHidesOnDeactivate:YES]; [blankingWindows addObject:window]; [window release]; } @@ -2513,13 +2514,15 @@ } - (void)handleApplicationDidResignActiveNotification:(NSNotification *)notification { - if ([self isPresentation]) + if ([self isPresentation]) { [fullScreenWindow setLevel:NSNormalWindowLevel]; + } } - (void)handleApplicationWillBecomeActiveNotification:(NSNotification *)notification { - if ([self isPresentation]) + if ([self isPresentation]) { [fullScreenWindow setLevel:NSPopUpMenuWindowLevel]; + } } - (void)handleDocumentWillSaveNotification:(NSNotification *)notification { 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit