summaryrefslogtreecommitdiffstats
path: root/generic/tkGeometry.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-03 08:10:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-03 08:10:50 (GMT)
commitfa8e8169def3acefa05d1b904b9abd0486b43b03 (patch)
tree80e87a163470531b9bf6cac69ba6719e1038ea1c /generic/tkGeometry.c
parentc95e729c70e0e9df6fae76f043bf9d360b428fec (diff)
parent9840be13ed8bf8995b4969c0d99d82f3f1c93357 (diff)
downloadtk-fa8e8169def3acefa05d1b904b9abd0486b43b03.zip
tk-fa8e8169def3acefa05d1b904b9abd0486b43b03.tar.gz
tk-fa8e8169def3acefa05d1b904b9abd0486b43b03.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tkGeometry.c')
-rw-r--r--generic/tkGeometry.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/generic/tkGeometry.c b/generic/tkGeometry.c
index fbdd530..76752a3 100644
--- a/generic/tkGeometry.c
+++ b/generic/tkGeometry.c
@@ -220,13 +220,12 @@ Tk_SetInternalBorderEx(
/*
* All the slaves for which this is the master window must now be
* repositioned to take account of the new internal border width. To
- * signal all the geometry managers to do this, just resize the window to
- * its current size. The ConfigureNotify event will cause geometry
- * managers to recompute everything.
+ * signal all the geometry managers to do this, trigger a ConfigureNotify
+ * event. This will cause geometry managers to recompute everything.
*/
if (changed) {
- Tk_ResizeWindow(tkwin, Tk_Width(tkwin), Tk_Height(tkwin));
+ TkDoConfigureNotify(winPtr);
}
}