mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-26 17:54:14 +00:00
Skip i++ if c->isfullscreen
continue; to avoid i++ It doesn't affect the behavior of dwl but makes sense
This commit is contained in:
parent
713a036db6
commit
6890998110
6
dwl.c
6
dwl.c
@ -1733,9 +1733,11 @@ tile(Monitor *m)
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (!VISIBLEON(c, m) || c->isfloating)
|
||||
continue;
|
||||
if (c->isfullscreen)
|
||||
if (c->isfullscreen) {
|
||||
maximizeclient(c);
|
||||
else if (i < m->nmaster) {
|
||||
continue;
|
||||
}
|
||||
if (i < m->nmaster) {
|
||||
h = (m->w.height - my) / (MIN(n, m->nmaster) - i);
|
||||
resize(c, m->w.x, m->w.y + my, mw, h, 0);
|
||||
my += c->geom.height;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user