aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-02-27 22:11:58 -0500
committerBrian Ashworth <bosrsf04@gmail.com>2019-02-27 22:11:58 -0500
commit56217bfbc01ca8c244ccbcd3f5b60227f41f5e36 (patch)
tree7bf51e958ff04c5ed776784b3f0345b99a222972
parent4431ae68fcfcc12bd41f2b2daf4cb2b34a6f5547 (diff)
downloadsway-56217bfbc01ca8c244ccbcd3f5b60227f41f5e36.zip
sway-56217bfbc01ca8c244ccbcd3f5b60227f41f5e36.tar.gz
sway-56217bfbc01ca8c244ccbcd3f5b60227f41f5e36.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