Re: [dev] [dvtm] Mouse clicks on tags patch

From: Marc André Tanner <>
Date: Tue, 23 Jun 2015 13:01:15 +0200

On Fri, Jun 05, 2015 at 11:43:27AM -0400, Ross Mohn wrote:
> Hi again,
> The attached patch allows you to assign functions to mouse clicks on the
> tag indicators in the status bar. The default actions are:
> * left click to toggle viewing that tag
> * left double click to view only that tag
> * middle click to view all tags
> * right click to toggle assignment of the current client to that tag
> I want to expand the functionality to include the ability to assign
> functions to mouse clicks on other parts of the status bar, such as
> clicking on the layout indicator to cycle through the layouts, and
> clicking on the text area to create a new client. But, this will be much
> cleaner and require much less code if we switch the mouse handling to be
> more like that of the current dwm code.
> So, I've attached this patch as is, with its functionality for pressing
> just on the tag indicators in the status bar, but I'm stopping there and
> will work on rewriting the mouse handling in general within dvtm.

I agree that the mouse handling code could be cleaned up. What is the
state of your rewrite? Should I wait for it, or should I consider
applying the patch as is?


 Marc André Tanner >< >< GPG key: CF7D56C0
Received on Tue Jun 23 2015 - 13:01:15 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 23 2015 - 13:12:09 CEST