diff options
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index a8efd893..f4e978ea 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -60,6 +60,11 @@ struct sway_container_state { double swayc_x, swayc_y; double swayc_width, swayc_height; + bool has_gaps; + double current_gaps; + double gaps_inner; + double gaps_outer; + //struct sway_container *parent; //list_t *children; @@ -112,6 +117,13 @@ struct sway_container { double saved_x, saved_y; double saved_width, saved_height; + // The gaps currently applied to the container. + double current_gaps; + + bool has_gaps; + double gaps_inner; + double gaps_outer; + list_t *children; struct sway_container *parent; |