mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-05 04:06:28 -05:00
opt: optimize smartgap
This commit is contained in:
parent
49921eadfa
commit
334bc076a0
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@ bool check_hit_no_border(Client *c) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (no_border_when_single && c && c->mon && c->mon->visible_clients == 1) {
|
if (no_border_when_single && c && c->mon &&
|
||||||
|
((ISSCROLLTILED(c) && c->mon->visible_scroll_tiling_clients == 1) ||
|
||||||
|
c->mon->visible_clients == 1)) {
|
||||||
hit_no_border = true;
|
hit_no_border = true;
|
||||||
}
|
}
|
||||||
return hit_no_border;
|
return hit_no_border;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue