git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6215 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-03-08 16:31:32 +00:00
parent b751ba07f9
commit dfba95af30

View file

@ -827,6 +827,7 @@ static NSMapTable* windowmaps = NULL;
_f.is_key = YES;
DPSsetinputstate(GSCurrentContext(), window_num, GSTitleBarKey);
DPSsetinputfocus(GSCurrentContext(), window_num);
[self resetCursorRects];
[nc postNotificationName: NSWindowDidBecomeKeyNotification object: self];
}
@ -1081,6 +1082,7 @@ static NSMapTable* windowmaps = NULL;
}
if ([self isKeyWindow] == YES)
{
DPSsetinputstate(GSCurrentContext(), window_num, GSTitleBarKey);
DPSsetinputfocus(GSCurrentContext(), window_num);
}
}