summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2014-12-21 04:14:13 (GMT)
committerKevin Walzer <kw@codebykevin.com>2014-12-21 04:14:13 (GMT)
commit8936c6440460257c2739b3a6cdaf96c37d1cf04e (patch)
treecc063ae43f1d8eac63fd3333b88a867e67b29d26 /macosx
parent23b9b4f5d55fb996cde1c77ed56869982cc33f28 (diff)
downloadtk-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.c1
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.*/