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)
commitf7374e4f5e190d1b8c0e684cd7140d5690700b4c (patch)
tree0b5e630cd8ac1ee4f9d29faff762c9ce911268e6 /macosx
parenta6b1deacd2439cbb1d610f686e868cc160f6d0c7 (diff)
downloadtk-f7374e4f5e190d1b8c0e684cd7140d5690700b4c.zip
tk-f7374e4f5e190d1b8c0e684cd7140d5690700b4c.tar.gz
tk-f7374e4f5e190d1b8c0e684cd7140d5690700b4c.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.*/