summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWindowEvent.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-07-15 20:57:08 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-07-15 20:57:08 (GMT)
commit3a4dab519f8f01cd8d16d28af150bb2b07894b5f (patch)
treefd28c8dfdefeaccf959959dcf60f88045f5bd2dd /macosx/tkMacOSXWindowEvent.c
parent4819d3849f45e832a8b26c7906c36f66472ef3b9 (diff)
downloadtk-3a4dab519f8f01cd8d16d28af150bb2b07894b5f.zip
tk-3a4dab519f8f01cd8d16d28af150bb2b07894b5f.tar.gz
tk-3a4dab519f8f01cd8d16d28af150bb2b07894b5f.tar.bz2
More fixes from [7ebdd17974] (thanks Christopher Chavez): remove the needsRedisplay flag, update comments.
Diffstat (limited to 'macosx/tkMacOSXWindowEvent.c')
-rw-r--r--macosx/tkMacOSXWindowEvent.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c
index 36a489b..5f52ea7 100644
--- a/macosx/tkMacOSXWindowEvent.c
+++ b/macosx/tkMacOSXWindowEvent.c
@@ -936,10 +936,6 @@ ConfigureRestrictProc(
[NSApp setIsDrawing: YES];
[self clearTkDirtyRect];
[self generateExposeEvents:rect];
- if ([self needsRedisplay]) {
- [self setNeedsRedisplay:NO];
- [self addTkDirtyRect: [self bounds]];
- }
[NSApp setIsDrawing:NO];
#ifdef TK_MAC_DEBUG_DRAWING