diff options
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 4c60530f..e7a071be 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -68,12 +68,10 @@ struct sway_container { | |||
68 | enum sway_container_layout prev_layout; | 68 | enum sway_container_layout prev_layout; |
69 | enum sway_container_layout workspace_layout; | 69 | enum sway_container_layout workspace_layout; |
70 | 70 | ||
71 | // For C_ROOT, this has no meaning | 71 | // For C_ROOT, this is the extents of the whole layout box. |
72 | // For C_OUTPUT, this is the output position in layout coordinates | 72 | // For C_OUTPUT, this is the output position in layout coordinates. |
73 | // For other types, this is the position in output-local coordinates | 73 | // For other types, this is the position in output-local coordinates. |
74 | double x, y; | 74 | struct wlr_box box; |
75 | // does not include borders or gaps. | ||
76 | double width, height; | ||
77 | 75 | ||
78 | list_t *children; | 76 | list_t *children; |
79 | 77 | ||