summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
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)
commit81e6afdd4e6735140c946e30298285ea8d33fdc8 (patch)
tree9a9db1dd128363617931f878101c39195f063b9f /macosx/tkMacOSXDraw.c
parentdc7e3a32ad6ebf036936c44113cb6e5de09975a4 (diff)
downloadtk-81e6afdd4e6735140c946e30298285ea8d33fdc8.zip
tk-81e6afdd4e6735140c946e30298285ea8d33fdc8.tar.gz
tk-81e6afdd4e6735140c946e30298285ea8d33fdc8.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/tkMacOSXDraw.c')
-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];