summaryrefslogtreecommitdiffstats
path: root/generic/tkGrid.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-10-30 20:23:37 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-10-30 20:23:37 (GMT)
commit700f29364eb3fe91c5eca604342acbba3c0ce7e8 (patch)
tree67bf9ff07c56387a8a1c2a466f64c3edaf5bf4cc /generic/tkGrid.c
parent0ac9408c31c8eaeafab81b43654706393ff5f86d (diff)
downloadtk-700f29364eb3fe91c5eca604342acbba3c0ce7e8.zip
tk-700f29364eb3fe91c5eca604342acbba3c0ce7e8.tar.gz
tk-700f29364eb3fe91c5eca604342acbba3c0ce7e8.tar.bz2
Fixed [6aea69fccb] - grid configure -in problem. Patch by Koen Danckaert.bug_6aea69fccb
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r--generic/tkGrid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c
index 2a88b76..62c9c59 100644
--- a/generic/tkGrid.c
+++ b/generic/tkGrid.c
@@ -3314,6 +3314,9 @@ ConfigureSlaves(
}
if (slavePtr->masterPtr != NULL && slavePtr->masterPtr != masterPtr) {
+ if (slavePtr->masterPtr->tkwin != Tk_Parent(slavePtr->tkwin)) {
+ Tk_UnmaintainGeometry(slavePtr->tkwin, slavePtr->masterPtr->tkwin);
+ }
Unlink(slavePtr);
slavePtr->masterPtr = NULL;
}