Open geekosaur opened 1 year ago
I squashed it down a bit.
In case anyone's wondering, @liskin expressed a concern and plans to review this within the next few days, so don't rush into committing it just yet.
I renamed ByWidth.hs
to IfWidth.hs
for consistency with IfMax.hs
and with its ifWidth
function, and squashed everything in the process. AFAIK this is just waiting on someone to confirm that I'm handling the Hide
and ReleaseResources
messages properly.
Description
I have implemented an actual PerScreen layout (
onScreen
andonScreens
). The oldifWidth
is moved to a new moduleXMonad.Layout.ByWidth
, and re-exported with a deprecation warning pointing to the new module.I'd like someone who can to test a corner case with respect to
rescreen
. I think it will usually work, but may glitch if you rapidly plug and unplug an external monitor to which this layout would apply. This can't do more than a brief glitch though, as anything that would trigger it will have anotherrescreen
pending and xmonad will fix itself.Checklist
[x] I've read CONTRIBUTING.md
[x] I've considered how to best test these changes (property, unit, manually, ...) and concluded: manually tested except for the corner case mentioned above
[x] I updated the
CHANGES.md
file