summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2013-10-27 20:27:00 (GMT)
committerKevin Walzer <kw@codebykevin.com>2013-10-27 20:27:00 (GMT)
commitdbd21c81110eb1873d468a17c5061e6d4310e61a (patch)
treea0c5e6dcf97f6304d58c6961e3a754342c319cd3 /macosx
parent451ea5b7d46daf27a0e9b56626bf16db1f2a115e (diff)
downloadtk-dbd21c81110eb1873d468a17c5061e6d4310e61a.zip
tk-dbd21c81110eb1873d468a17c5061e6d4310e61a.tar.gz
tk-dbd21c81110eb1873d468a17c5061e6d4310e61a.tar.bz2
Fix for drawing lags on OS X Mavericks; thanks to Ned Deily for report and Daniel Steffen for patch
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDraw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 58ae495..5be04a4 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1688,6 +1688,7 @@ TkMacOSXRestoreDrawingContext(
{
if (dcPtr->context) {
CGContextSynchronize(dcPtr->context);
+ [[dcPtr->view window] setViewsNeedDisplay:YES];
[[dcPtr->view window] enableFlushWindow];
if (dcPtr->focusLocked) {
[dcPtr->view unlockFocus];