Minor tidyup for window flushing

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3695 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-02-12 17:00:59 +00:00
parent 5af19c7b13
commit eddafd66d5
3 changed files with 84 additions and 44 deletions

View file

@ -1042,6 +1042,7 @@ BOOL changedSize = NO;
}
}
needs_display = stillNeedsDisplay;
[window flushWindow];
}
}
@ -1099,8 +1100,6 @@ BOOL changedSize = NO;
}
}
[window flushWindow];
/*
* If the rect we displayed contains the invalidRect
* for the view then we can empty invalidRect.
@ -1115,6 +1114,7 @@ BOOL changedSize = NO;
stillNeedsDisplay = YES;
}
needs_display = stillNeedsDisplay;
[window flushWindow];
}
- (void)drawRect:(NSRect)rect