git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9049 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2001-02-08 00:00:32 +00:00
parent 98ff76a0ca
commit c76f978552

View file

@ -1489,8 +1489,13 @@ static NSMapTable* windowmaps = NULL;
_rFlags.needs_display = NO;
// FIXME: Is the first responder processing needed here?
if ((!_firstResponder) || (_firstResponder == self))
{
if (_initialFirstResponder)
{
[self makeFirstResponder: _initialFirstResponder];
}
}
/*
* inform first responder of it's status so it can set the focus to itself
*/
@ -1668,10 +1673,14 @@ static NSMapTable* windowmaps = NULL;
- (BOOL) canStoreColor
{
if (_depthLimit > 1)
{
return YES;
}
else
{
return NO;
}
}
- (NSScreen *) deepestScreen
{
@ -1698,7 +1707,9 @@ static NSMapTable* windowmaps = NULL;
- (void) setDepthLimit: (NSWindowDepth)limit
{
if (limit == 0)
limit = [[self class] defaultDepthLimit];
{
limit = [isa defaultDepthLimit];
}
_depthLimit = limit;
}