gaps: remove duplicate inner gaps

This commit is contained in:
Brian Ashworth 2018-11-07 22:42:18 -05:00
parent 4a21981855
commit 6a42643784
3 changed files with 34 additions and 18 deletions

View file

@ -104,7 +104,12 @@ struct sway_container {
bool border_right;
// The gaps currently applied to the container.
double current_gaps;
struct {
int top;
int right;
int bottom;
int left;
} current_gaps;
struct sway_workspace *workspace; // NULL when hidden in the scratchpad
struct sway_container *parent; // NULL if container in root of workspace