Merge pull request #2076 from Airblader/feature-document-rects
Document rect, window_rect and deco_rect.
This commit is contained in:
commit
46bb6cdfbb
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue