summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorericm <ericm>2000-10-05 00:49:59 (GMT)
committerericm <ericm>2000-10-05 00:49:59 (GMT)
commit3c249a7000fb9bacdda68774c89048bccb81d87a (patch)
tree71d71aa44934d02476d9b35d8b344960884591ea /ChangeLog
parent6a7f0098d0e0b2d543fe7f7321e5b996fa009d93 (diff)
downloadtk-3c249a7000fb9bacdda68774c89048bccb81d87a.zip
tk-3c249a7000fb9bacdda68774c89048bccb81d87a.tar.gz
tk-3c249a7000fb9bacdda68774c89048bccb81d87a.tar.bz2
* doc/MaintGeom.3: Noted that Tk_MaintainGeometry handles direct
descendants properly. * generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for the case in which the slave window is a direct descendant of the master window. In this case, we need not set up the additional infrastructure normally provide by Tk_MaintainGeometry, because we can rely on the parent/child relationship to handle it for us implicitly. In this case, Tk_MaintainGeometry just calls directly to Tk_MoveResizeWindow. This allows geometry managers to simply always use Tk_MaintainGeometry to maintain geometry for slaves, and avoid doing the direct descendant check themselves. (Tk_UnmaintainGeometry): Added a matching check for the direct descendant case; in this case, Tk_UnmaintainGeometry simply returns immediately.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70ebbae..cd74a31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2000-10-04 Eric Melski <ericm@ajubasolutions.com>
+
+ * doc/MaintGeom.3: Noted that Tk_MaintainGeometry handles direct
+ descendants properly.
+
+ * generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for
+ the case in which the slave window is a direct descendant of the
+ master window. In this case, we need not set up the additional
+ infrastructure normally provide by Tk_MaintainGeometry, because we
+ can rely on the parent/child relationship to handle it for us
+ implicitly. In this case, Tk_MaintainGeometry just calls directly
+ to Tk_MoveResizeWindow. This allows geometry managers to simply
+ always use Tk_MaintainGeometry to maintain geometry for slaves,
+ and avoid doing the direct descendant check themselves.
+ (Tk_UnmaintainGeometry): Added a matching check for the direct
+ descendant case; in this case, Tk_UnmaintainGeometry simply
+ returns immediately.
+
2000-10-01 Eric Melski <ericm@ajubasolutions.com>
* generic/tkButton.c (ConfigureButton): Added tests for -compound