[xmonad] mouse buttons "button8" and "button9" don't wok
wagnerdm at seas.upenn.edu
wagnerdm at seas.upenn.edu
Fri Jul 2 08:58:17 EDT 2010
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 <vollekannehoschi at googlemail.com>:
> 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad
>
>
More information about the xmonad
mailing list