Well, just provide me a patch which includes all changes. I will
think about applying this.

Regards,
        Anselm

On Sat, Oct 20, 2007 at 07:06:40PM +0200, Stefano Soffia wrote:
> Obviously, my knowledge of dwm is quite scarce. Here another missing piece.
> 
> Gingioerge

> diff -r 11e0d347de12 dwm.c
> --- a/dwm.c   Sat Oct 20 18:59:36 2007 +0200
> +++ b/dwm.c   Sat Oct 20 19:02:55 2007 +0200
> @@ -318,15 +318,15 @@ buttonpress(XEvent *e) {
>                       if(ev->x < x) {
>                               if(ev->button == Button1) {
>                                       if(ev->state & MODKEY)
> -                                             tag(tags[i]);
> +                                             tag(index_to_tag(i));
>                                       else
> -                                             view(tags[i]);
> +                                             view(index_to_tag(i));
>                               }
>                               else if(ev->button == Button3) {
>                                       if(ev->state & MODKEY)
> -                                             toggletag(tags[i]);
> +                                             toggletag(index_to_tag(i));
>                                       else
> -                                             toggleview(tags[i]);
> +                                             toggleview(index_to_tag(i));
>                               }
>                               return;
>                       }


-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361

Reply via email to