aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/container.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index adeb85ae..4efde640 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -88,6 +88,10 @@ struct sway_container {
88 double saved_x, saved_y; 88 double saved_x, saved_y;
89 double saved_width, saved_height; 89 double saved_width, saved_height;
90 90
91 // The share of the space of parent container this container occupies
92 double width_fraction;
93 double height_fraction;
94
91 // These are in layout coordinates. 95 // These are in layout coordinates.
92 double content_x, content_y; 96 double content_x, content_y;
93 int content_width, content_height; 97 int content_width, content_height;