diff options
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r-- | generic/tkGrid.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c index 2a88b76..a4b4125 100644 --- a/generic/tkGrid.c +++ b/generic/tkGrid.c @@ -1733,12 +1733,14 @@ ArrangeGrid( /* * If the master has no slaves anymore, then don't do anything at all: - * just leave the master's size as-is. Otherwise there is no way to - * "relinquish" control over the master so another geometry manager can - * take over. + * just leave the master's size as-is, but signal the master with the + * <<GeometryManager>> virtual event. + * Otherwise there is no way to "relinquish" control over the master + * so another geometry manager can take over. */ if (masterPtr->slavePtr == NULL) { + TkSendVirtualEvent(masterPtr->tkwin, "GeometryManager", NULL); return; } |