Implement gaps (PR #2047)

This commit is contained in:
Nate Symer 2018-06-09 09:34:56 -04:00
parent 21d98d5bfb
commit 6a910b9ba5
9 changed files with 320 additions and 9 deletions

View file

@ -124,6 +124,11 @@ struct sway_container *container_create(enum sway_container_type type) {
wl_signal_add(&c->events.reparent, &c->reparent);
c->reparent.notify = handle_reparent;
c->has_gaps = false;
c->gaps_inner = 0;
c->gaps_outer = 0;
c->current_gaps = 0;
return c;
}