Fixing bugs in relation to #12

This commit is contained in:
bakkeby
2020-03-21 14:23:27 +01:00
parent 873b856428
commit 9bc39c02b2
3 changed files with 5 additions and 5 deletions

View File

@ -107,9 +107,9 @@ centeredmaster(Monitor *m)
if (!m->nmaster || n < m->nmaster)
mtotal += mh / mfacts;
else if ((n - m->nmaster) % 2)
ltotal += lh / sfacts;
ltotal += lh / lfacts;
else
rtotal += rh / lfacts;
rtotal += rh / rfacts;
#endif // CFACTS_PATCH
mrest = mh - mtotal;