summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-07-15 20:16:47 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-07-15 20:16:47 (GMT)
commit4819d3849f45e832a8b26c7906c36f66472ef3b9 (patch)
treeb522a0490ce6722b320e2d240f6e8c66d23e158b /macosx/tkMacOSXDraw.c
parent4722f9f501efe0141837f64c3c63cc13705396e5 (diff)
downloadtk-4819d3849f45e832a8b26c7906c36f66472ef3b9.zip
tk-4819d3849f45e832a8b26c7906c36f66472ef3b9.tar.gz
tk-4819d3849f45e832a8b26c7906c36f66472ef3b9.tar.bz2
macOS: remove unneeded code observed in [7ebdd17974], remove tkMacOSXFlushWindows, make XSync do nothing except process timer events.
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r--macosx/tkMacOSXDraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index f3d6ba4..4973bc2 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1636,7 +1636,7 @@ TkMacOSXSetupDrawingContext(
HIShapeGetBounds(dc.clipRgn, &clipBounds);
clipBounds = CGRectApplyAffineTransform(clipBounds, t);
}
- if (![NSApp isDrawing] || view != [NSView focusView]) {
+ if (![NSApp isDrawing]) {
/*
* We can only draw into the view when the current CGContext is