summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorculler <culler>2024-06-23 22:45:11 (GMT)
committerculler <culler>2024-06-23 22:45:11 (GMT)
commit63a7ddde3c69911327cd98cd3dbb71ed214c2d8b (patch)
tree5154a9b8016805dd7a7d271e68cf2e6004c24362 /macosx
parent134d97fa9a856b82572d2eace06f84e69b04ef81 (diff)
downloadtk-63a7ddde3c69911327cd98cd3dbb71ed214c2d8b.zip
tk-63a7ddde3c69911327cd98cd3dbb71ed214c2d8b.tar.gz
tk-63a7ddde3c69911327cd98cd3dbb71ed214c2d8b.tar.bz2
Don't redraw the container when a content widget is mapped.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXSubwindows.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 150c756..4ac69eb 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -208,10 +208,7 @@ XMapWindow(
* the window.
*/
- // We could add a TK_CONTAINER_WINDOW flag and have
- // TkMacOSXInvalidateWindow invalidate the clip regions.
TkMacOSXInvalClipRgns(contWinPtr);
- TkMacOSXInvalidateWindow(macWin, TK_PARENT_WINDOW);
}
TkMacOSXInvalClipRgns((Tk_Window)winPtr);
} else {