[xmonad] Inconsistencies in `instance Monoid ManageHook'

Adam Vogt vogt.adam at gmail.com
Tue Aug 3 03:11:34 EDT 2010


* On Tuesday, August 03 2010, Brandon S Allbery KF8NH wrote:

>On 8/3/10 00:57 , Adam Vogt wrote:
>> Are any current or reasonable uses of ManageHook be impossible if one of
>> the composition orders were changed for consistency?
>
>I have several ManageHooks which move e.g. IM windows to a particular
>desktop, and non-IM windows opened on that desktop to the next desktop in
>line.  Do this backwards and it becomes an expensive no-op.  :)

It isn't clear how your ManageHook depends on the IO and MonadState part
being composed in the opposite order than Endo WindowSet.  It would help
to see the code.

--
Adam


More information about the xmonad mailing list