mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
vanadium/xmonad: fix off by one if condition
This commit is contained in:
parent
245da500a0
commit
2d17c2c145
1 changed files with 3 additions and 3 deletions
|
|
@ -220,9 +220,9 @@ setMasterNEventHandleHook ev =
|
||||||
$ filter (flip M.notMember (W.floating ws))
|
$ filter (flip M.notMember (W.floating ws))
|
||||||
$ W.integrate' s
|
$ W.integrate' s
|
||||||
|
|
||||||
if count >= 7 then sendMessage (SetMasterN 4)
|
if count > 7 then sendMessage (SetMasterN 4)
|
||||||
else if count >= 5 then sendMessage (SetMasterN 3)
|
else if count > 5 then sendMessage (SetMasterN 3)
|
||||||
else if count >= 3 then sendMessage (SetMasterN 2)
|
else if count > 3 then sendMessage (SetMasterN 2)
|
||||||
else sendMessage (SetMasterN 1)
|
else sendMessage (SetMasterN 1)
|
||||||
in do
|
in do
|
||||||
case ev of
|
case ev of
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue