summaryrefslogtreecommitdiffstats
path: root/doc/wm.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-07-05 09:52:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-07-05 09:52:00 (GMT)
commit25bbe5d885af812ffc67b6ad658b483b214044c3 (patch)
tree7007cb3fb123c0ac071b9ea04e106d63ece4362b /doc/wm.n
parent7a09e785c83fd34b46743f17f67894f948ab7f30 (diff)
parent88f3406d974ae0600d1b2b6fabb0140dd5391f4f (diff)
downloadtk-25bbe5d885af812ffc67b6ad658b483b214044c3.zip
tk-25bbe5d885af812ffc67b6ad658b483b214044c3.tar.gz
tk-25bbe5d885af812ffc67b6ad658b483b214044c3.tar.bz2
[Bug 3538401]: Better description of the key difference between [wm geometry]
and [winfo geometry]
Diffstat (limited to 'doc/wm.n')
-rw-r--r--doc/wm.n9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/wm.n b/doc/wm.n
index c580441..b38695f 100644
--- a/doc/wm.n
+++ b/doc/wm.n
@@ -349,6 +349,15 @@ If \fInewGeometry\fR is specified as an empty string then any
existing user-specified geometry for \fIwindow\fR is cancelled, and
the window will revert to the size requested internally by its
widgets.
+.PP
+Note that this is related to \fBwinfo geometry\fR, but not the same. That can
+only query the geometry, and always reflects Tk's current understanding of the
+actual size and location of \fIwindow\fR, whereas \fBwm geometry\fR allows
+both setting and querying of the \fIwindow manager\fR's understanding of the
+size and location of the window. This can vary significantly, for example to
+reflect the addition of decorative elements to \fIwindow\fR such as title
+bars, and window managers are not required to precisely follow the requests
+made through this command.
.RE
.TP
\fBwm grid \fIwindow\fR ?\fIbaseWidth baseHeight widthInc heightInc\fR?