From 4a31d18837b496317d817db5b480ebd16afb6ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Adamczak?= <14021+czak@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:13:54 +0100 Subject: [PATCH] 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