[dev] [dwm] switch tag with mouse wheel on root

2010-12-21 Thread David Demelier

Hello dear dwm users,

I was just wondering how could I switch to the next or previous tag by 
using the mouse wheel on root window.


I think I must add the following :

{ ClkRootWin,MODKEY, Button4, ?? }
{ ClkRootWin,MODKEY, Button5, ?? }

But I don't know what I must add in the argument colon.

Kind regards,

--
David Demelier



Re: [dev] [dwm] switch tag with mouse wheel on root

2010-12-21 Thread David Demelier

On 21/12/2010 14:14, Rob wrote:

dwm doesn't have this by default, because dwm doesn't have a current
tag, since you can have many activated.
Here's what I do [attached]. It's taken and modified from a ML post I
saw a good while back.

Rob.



Absolutely great! Thanks, this little piece of code should be added to 
the patches/ :-).


Kind regards,

David.