mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 13:20:48 +00:00
Additional fixes for 'screen' method processing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37840 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0176b9a65d
commit
3877d7c696
2 changed files with 21 additions and 14 deletions
|
@ -132,7 +132,7 @@ static NSMutableArray *screenArray = nil;
|
|||
NSWindow *keyWindow;
|
||||
|
||||
keyWindow = [NSApp keyWindow];
|
||||
if (keyWindow != nil)
|
||||
if ((keyWindow != nil) && ([keyWindow screen] != nil))
|
||||
{
|
||||
return [keyWindow screen];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue