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:
Nicola Pero 2002-07-02 15:07:08 +00:00
parent 73f5e2b0d0
commit a3a02d0f05

View file

@ -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 */