summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-11-05 11:56:03 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-11-05 11:56:03 (GMT)
commitf82b718e135c44bb8bb4865ac5cbb0272502de66 (patch)
tree060a593bdd96775aa6256efccab0c7dcffbcd8d7 /generic
parentdbd5092cb00d45365d9260c2c767757fa4219ede (diff)
parentbdf82ef94f1819825be63c93d5966d57a1449c95 (diff)
downloadtk-f82b718e135c44bb8bb4865ac5cbb0272502de66.zip
tk-f82b718e135c44bb8bb4865ac5cbb0272502de66.tar.gz
tk-f82b718e135c44bb8bb4865ac5cbb0272502de66.tar.bz2
Fixed [6aea69fccb] - grid configure -in problem. Patch by Koen Danckaert.
Diffstat (limited to 'generic')
-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;
}