-myManageHook = composeAll
- [ className =? "Iceweasel" --> doF (W.shift "2")
- , className =? "Wireshark" --> doF (W.shift "3")
- ] <+> doF avoidMaster
+myManageHook = composeOne
+ [ className =? "Iceweasel" -?> doF (W.shift "2")
+ , className =? "Wireshark" -?> doF (W.shift "3")
+
+ -- Don't span new windows in the master pane.
+ , return True -?> doF avoidMaster
+ -- Prevent windows which get moved to other workspaces from removing the
+ -- focus of the currently selected window. Thanks to vav in #xmonad on
+ -- Freenode (2010-04-15 21:04).
+ , return True -?> doF W.focusDown
+ ]