
friedel:
Hey! :)
Lukas Mai schrieb:
I don't know how this stuff works but my xmonad.hs simply uses 8 and 9 instead of button8 and button9, respectively; it seems to work fine.
Works here, too... specifically:
,((0, 6), (\w -> focus w >> windows W.swapMaster))
Apparently this is because /usr/include/X11/X.h happens to contain the following (at least on this system):
#define Button1 1 #define Button2 2 #define Button3 3 #define Button4 4 #define Button5 5
Makes me feel a bit silly, but I'd never have guessed that it could be that simple...
Could you summarise the problem and solution on the wiki please? http://haskell.org/haskellwiki/Xmonad/Frequently_asked_questions or maybe http://haskell.org/haskellwiki/Xmonad/General_xmonad.hs_config_tips