(-_handleWindowNeedsDisplay:): Disable flushing while displaying and flush when all displaying is done.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18260 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-12-23 17:17:39 +00:00
parent 5e0dc13462
commit b5f45d7334
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-12-23 18:13 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-_handleWindowNeedsDisplay:): Disable flushing
while displaying the window and flush after all displaying is done.
2003-12-06 14:03 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-readSelectionFromPasteboard:type:,

View file

@ -116,7 +116,10 @@ has blocked and waited for events.
{
if (_f.is_autodisplay && _rFlags.needs_display)
{
[self disableFlushWindow];
[self displayIfNeeded];
[self enableFlushWindow];
[self flushWindowIfNeeded];
}
[[NSRunLoop currentRunLoop]
performSelector: @selector(_handleWindowNeedsDisplay:)