mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
Merge pull request #2726 from RyanDwyer/overhaul-gaps
Make gaps implementation consistent with i3-gaps
This commit is contained in:
commit
f1dbdce0b2
9 changed files with 234 additions and 181 deletions
|
|
@ -1029,7 +1029,7 @@ void container_add_gaps(struct sway_container *c) {
|
|||
|
||||
struct sway_workspace *ws = c->workspace;
|
||||
|
||||
c->current_gaps = ws->has_gaps ? ws->gaps_inner : config->gaps_inner;
|
||||
c->current_gaps = ws->gaps_inner;
|
||||
c->x += c->current_gaps;
|
||||
c->y += c->current_gaps;
|
||||
c->width -= 2 * c->current_gaps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue