[dwm] [patch] arguments for ClkTagBar functions

From: yy <yiyu.jgl_AT_gmail.com>
Date: Sun, 31 Aug 2008 19:46:50 +0200

This little patch just add a buttons[i].arg.i == 0 check in the
buttonpress function.
There is no reason you cannot pass arguments to the ClkTagBar
functions. With this patch it is possible to use your middle mouse
button to view prev or all tags, or the wheel to change the focused
client. Any chance it can enter in main dwm before 5.2?

As a side note, don't you think this is a much more confortable way to
tag clients with the mouse?
        { ClkTagBar, Button2Mask, Button1, tag,
       {0} },
        { ClkTagBar, Button2Mask, Button3,
toggletag, {0} },

I have never tagged clients with MODKEY+Mouse, I don't know if you use to do it.

- yiyus || JGL .
Received on Sun Aug 31 2008 - 17:46:50 UTC

This archive was generated by hypermail 2.2.0 : Sun Aug 31 2008 - 17:48:03 UTC