diff options
author | Pedro CĂ´rte-Real <pedro@pedrocr.net> | 2019-07-06 11:57:32 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-07-15 23:46:27 -0400 |
commit | d0233af3b39475b47be4248846536811ddca2624 (patch) | |
tree | acc61150bd9e6bc1a69c8e7f38a700e8a9e8b2ed /sway/commands/reload.c | |
parent | 2dc4978d8af326c310057ca8fd22a4c7f5d09335 (diff) |
Rework gaps code to be simpler and correct
Instead of tracking gaps per child apply gaps in two logical places:
1. In tiled containers use the layout code to add the gaps between
windows. This is much simpler and guarantees that the sizing of children
is correct.
2. In the workspace itself apply all the gaps around the edge. Here
we're in the correct position to size inner and outer gaps correctly and
decide on smart gaps in a single location.
Fixes #4296
Diffstat (limited to 'sway/commands/reload.c')
0 files changed, 0 insertions, 0 deletions