aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-02-27 22:11:58 -0500
committerDrew DeVault <sir@cmpwn.com>2019-03-04 12:50:47 -0500
commitecb646e12b3d395e729b9a6c4aef4eba9c6a726a (patch)
tree1cc853fb45a15febda97b4a45871c7c1d472d6f9
parent9b26661e47e0fcd5af5e12641a791c7fbc89bc6a (diff)
downloadsway-ecb646e12b3d395e729b9a6c4aef4eba9c6a726a.zip
sway-ecb646e12b3d395e729b9a6c4aef4eba9c6a726a.tar.gz
sway-ecb646e12b3d395e729b9a6c4aef4eba9c6a726a.tar.bz2
sway-ipc.7: clarify window_rect omits decorations
According to the i3 ipc documentation, `window_rect` excludes the window decorations from the calculation. This just clarifies that in `sway-ipc.7.scd`
-rw-r--r--sway/sway-ipc.7.scd3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd
index 63fbacc..d598a54 100644
--- a/sway/sway-ipc.7.scd
+++ b/sway/sway-ipc.7.scd
@@ -317,7 +317,8 @@ node and will have the following properties:
: The absolute geometry of the node
|- window_rect
: object
-: The geometry of the contents inside the node
+: The geometry of the contents inside the node. The window decorations are
+ excluded from this calculation, but borders are included.
|- deco_rect
: object
: The geometry of the decorations inside the node