diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-12-21 04:14:13 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-12-21 04:14:13 (GMT) |
commit | 8936c6440460257c2739b3a6cdaf96c37d1cf04e (patch) | |
tree | cc063ae43f1d8eac63fd3333b88a867e67b29d26 /macosx | |
parent | 23b9b4f5d55fb996cde1c77ed56869982cc33f28 (diff) | |
download | tk-8936c6440460257c2739b3a6cdaf96c37d1cf04e.zip tk-8936c6440460257c2739b3a6cdaf96c37d1cf04e.tar.gz tk-8936c6440460257c2739b3a6cdaf96c37d1cf04e.tar.bz2 |
Minor optimization of drawing code in OSX
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index 5314dc9..f5e506f 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -843,6 +843,7 @@ ExposeRestrictProc( } CFRelease(drawShape); drawTime=-[beginTime timeIntervalSinceNow]; + [super setNeedsDisplayInRect:rect]; } /*At conclusion of resize event, send notification and set view for redraw if earlier drawing was skipped because of lagginess.*/ |