aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/container.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index f0d0b3ce..543bd2cc 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -88,9 +88,16 @@ struct sway_container {
double saved_x, saved_y;
double saved_width, saved_height;
+ // These are in layout coordinates.
double content_x, content_y;
int content_width, content_height;
+ // In most cases this is the same as the content x and y, but if the view
+ // refuses to resize to the content dimensions then it can be smaller.
+ // These are in layout coordinates.
+ double surface_x, surface_y;
+ double surface_width, surface_height;
+
enum sway_fullscreen_mode fullscreen_mode;
enum sway_container_border border;