From 8016cce44755d3b37ce66e0fd8bec560b3c71178 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ingo=20B=C3=BCrk?= Date: Sat, 21 Nov 2015 21:52:43 +0100 Subject: [PATCH] Document rect, window_rect and deco_rect. --- include/data.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/data.h b/include/data.h index 3a752c2e..e5a76462 100644 --- a/include/data.h +++ b/include/data.h @@ -572,8 +572,14 @@ struct Con { struct Con *parent; + /* The position and size for this con. These coordinates are absolute. Note + * that the rect of a container does not include the decoration. */ struct Rect rect; + /* The position and size of the actual client window. These coordinates are + * relative to the container's rect. */ struct Rect window_rect; + /* The position and size of the container's decoration. These coordinates + * are relative to the container's parent's rect. */ struct Rect deco_rect; /** the geometry this window requested when getting mapped */ struct Rect geometry; -- 2.39.5