mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:40:39 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6215 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8282e3dd5a
commit
6956d4e182
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue