[xmonad] X.U.WorkspaceCompare getSortByXineramaRule

Anders Engström ankaan at gmail.com
Wed Jan 13 18:28:14 EST 2010


So, I was hacking on X.U.WorkspaceCompare, or more precisely
getSortByXineramaRule, since I got irritated that my screen
identifiers did not match my physical layout. Therefore I added a new
sorter (getSortByXineramaPhysicalRule) that shares most of the code
with the old one, but treats screens the same way as
X.A.PhysicalScreens.
It now got me thinking, is this really such a good idea? Maybe The old
rule should be changed instead? What is preferable?

It would change the behaviour for already existing configs, but for
those users the behaviour is most likely a "bug". So this would be
more like a bug fix. The downside is that the positioning will not
match the default keybindings. Those encountering this is more likely
to use X.A.PhysicalScreens or X.A.CycleWS though (like me).

So is it a good idea to change the already existing sort rule?


More information about the xmonad mailing list