
According to the /usr/include/X11/X.h installed here, only buttons 1-5
exist. You can try just using the value 9, but there's no guarantees.
What does xev say when you press the button?
~d
Quoting Stefan Gojan
Hi,
I'm using mouse bindings and want to add my "forward" and "back" buttons, but get an "not in scope" error when I do so. Here is my config peace:
myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $ [ ((modMask, button1), (\w -> focus w >> mouseMoveWindow w >> windows W.shiftMaster)) -- set the window to floating mode and move by dragging , ((modMask, button2), (\w -> focus w >> windows W.shiftMaster)) -- raise the window to the top of the stack -- , ((modMask, button9), (toggleWS)) -- switch to next workspace ]
kind regards, Stefan _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad