mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
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:
parent
5af19c7b13
commit
eddafd66d5
3 changed files with 84 additions and 44 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue