From 27b9b3eee2c9789587f45505ada559fb2a67b284 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Sun, 5 Feb 2023 15:13:54 +0100 Subject: Clarify documentation for window_rect (cherry picked from commit 8e4b6595786edf307623b9f1fcf3c7e5c8fa3833) --- sway/sway-ipc.7.scd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd index 9121f679..f2ab30f7 100644 --- a/sway/sway-ipc.7.scd +++ b/sway/sway-ipc.7.scd @@ -337,8 +337,9 @@ node and will have the following properties: this, but borders are included. |- window_rect : object -: The geometry of the contents inside the node. The window decorations are - excluded from this calculation, but borders are included. +: The geometry of the content inside the node. These coordinates are relative + to the node itself. Window decorations and borders are outside the + _window_rect_ |- deco_rect : object : The geometry of the decorations for the node relative to the parent node -- cgit v1.2.3