Revision: 7593
http://skim-app.svn.sourceforge.net/skim-app/?rev=7593&view=rev
Author: hofman
Date: 2011-12-22 13:11:52 +0000 (Thu, 22 Dec 2011)
Log Message:
-----------
prevent side window from becoming key when closed
Modified Paths:
--------------
trunk/SKSideWindow.m
Modified: trunk/SKSideWindow.m
===================================================================
--- trunk/SKSideWindow.m 2011-12-22 11:53:29 UTC (rev 7592)
+++ trunk/SKSideWindow.m 2011-12-22 13:11:52 UTC (rev 7593)
@@ -122,7 +122,9 @@
- (BOOL)canBecomeMainWindow { return NO; }
-- (BOOL)canBecomeKeyWindow { return YES; }
+- (BOOL)canBecomeKeyWindow {
+ return state == NSDrawerOpenState || state == NSDrawerOpeningState;
+}
- (void)attachToWindow:(NSWindow *)window {
NSRect frame;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit