summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2013-10-27 20:29:36 (GMT)
committerKevin Walzer <kw@codebykevin.com>2013-10-27 20:29:36 (GMT)
commit7221d7b752f90d0e2202b3b8286e91d4b9b9fa59 (patch)
tree0eb89ca794d5893c698e2eb80c19bac5857659ad /macosx
parent29c0f1dc0747ae118daa4cefb2de83e9ce1164d3 (diff)
downloadtk-7221d7b752f90d0e2202b3b8286e91d4b9b9fa59.zip
tk-7221d7b752f90d0e2202b3b8286e91d4b9b9fa59.tar.gz
tk-7221d7b752f90d0e2202b3b8286e91d4b9b9fa59.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 fd73b96..0727b26 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1690,6 +1690,7 @@ TkMacOSXRestoreDrawingContext(
{
if (dcPtr->context) {
CGContextSynchronize(dcPtr->context);
+ [[dcPtr->view window] setViewsNeedDisplay:YES];
[[dcPtr->view window] enableFlushWindow];
if (dcPtr->focusLocked) {
[dcPtr->view unlockFocus];