From 8e4b6595786edf307623b9f1fcf3c7e5c8fa3833 Mon Sep 17 00:00:00 2001 From: Ɓukasz Adamczak <14021+czak@users.noreply.github.com> Date: Sun, 5 Feb 2023 15:13:54 +0100 Subject: Clarify documentation for window_rect --- sway/sway-ipc.7.scd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sway/sway-ipc.7.scd') diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd index 2e903988..42aaaab6 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-54-g00ecf