
On Sat, Feb 11, 2012 at 06:20:44PM -0500, Brandon Allbery wrote:
On Sat, Feb 11, 2012 at 18:11, Brandon Allbery
wrote: className =? "mutt" --> liftX (doShiftEmpty "email")
Oops, slightly wrong; liftX will propagate the result back, which in this case is () which is not compatible with (Endo WindowSet) as expected by ManageHook. The correct fix is
appName =? "mutt" --> liftX (doShiftEmpty "email") >> idHook
which discards the () and substitutes an appropriate do-nothing Endo WindowSet.
-- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Dr T. S. Cubitt Mathematics and Quantum Information group Department of Mathematics Complutense University Madrid, Spain email: tsc25@cantab.net web: www.dr-qubit.org