Document rect, window_rect and deco_rect.

This commit is contained in:
Ingo Bürk 2015-11-21 21:52:43 +01:00
parent 2bf09dffe9
commit 8016cce447
1 changed files with 6 additions and 0 deletions

View File

@ -572,8 +572,14 @@ struct Con {
struct Con *parent; 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; 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; 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; struct Rect deco_rect;
/** the geometry this window requested when getting mapped */ /** the geometry this window requested when getting mapped */
struct Rect geometry; struct Rect geometry;