diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 099a8089..62c6556b 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -92,6 +92,11 @@ struct sway_container { | |||
92 | double width_fraction; | 92 | double width_fraction; |
93 | double height_fraction; | 93 | double height_fraction; |
94 | 94 | ||
95 | // The share of space of the parent container that all children occupy | ||
96 | // Used for doing the resize calculations | ||
97 | double child_total_width; | ||
98 | double child_total_height; | ||
99 | |||
95 | // These are in layout coordinates. | 100 | // These are in layout coordinates. |
96 | double content_x, content_y; | 101 | double content_x, content_y; |
97 | int content_width, content_height; | 102 | int content_width, content_height; |