diff options
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 7 |
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 { | |||
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 | // These are in layout coordinates. | ||
91 | double content_x, content_y; | 92 | double content_x, content_y; |
92 | int content_width, content_height; | 93 | int content_width, content_height; |
93 | 94 | ||
95 | // In most cases this is the same as the content x and y, but if the view | ||
96 | // refuses to resize to the content dimensions then it can be smaller. | ||
97 | // These are in layout coordinates. | ||
98 | double surface_x, surface_y; | ||
99 | double surface_width, surface_height; | ||
100 | |||
94 | enum sway_fullscreen_mode fullscreen_mode; | 101 | enum sway_fullscreen_mode fullscreen_mode; |
95 | 102 | ||
96 | enum sway_container_border border; | 103 | enum sway_container_border border; |