mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
(-_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:
parent
5e0dc13462
commit
b5f45d7334
2 changed files with 8 additions and 0 deletions
|
@ -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:,
|
||||
|
|
|
@ -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:)
|
||||
|
|
Loading…
Reference in a new issue