From 6a910b9ba5443aa31f7cc2468c943c2f9da4854b Mon Sep 17 00:00:00 2001 From: Nate Symer Date: Sat, 9 Jun 2018 09:34:56 -0400 Subject: Implement gaps (PR #2047) --- include/sway/tree/container.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/sway/tree/container.h') diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 7ed6aab1..b3406bbe 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -86,6 +86,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; -- cgit v1.2.3