mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-14 02:50:56 +00:00
Added resignKeyWindow so that we don't try blinking when we are no longer
the key window git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14007 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
73f5e2b0d0
commit
a3a02d0f05
1 changed files with 8 additions and 0 deletions
|
@ -3000,6 +3000,14 @@ afterString in order over charRange. */
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (void) resignKeyWindow
|
||||
{
|
||||
if ([self shouldDrawInsertionPoint])
|
||||
{
|
||||
[self updateInsertionPointStateAndRestartTimer: NO];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) drawRect: (NSRect)rect
|
||||
{
|
||||
/* TODO: Only do relayout if needed */
|
||||
|
|
Loading…
Reference in a new issue