Re: [dwm] 2 functions for mouse-users

From: dafusser <daniel.fusser_AT_googlemail.com>
Date: Fri, 20 Mar 2009 22:05:04 +0100

tilemovemouse() rocks! Big thanks.

2009/3/20 Tony Lainson <t.lainson_AT_gmail.com>

> I'm posting these in the hope that someone finds them useful. Sorry
> if they've been done before.
>
> tilemovemouse() lets you drag a client to a different position WITHOUT
> floating it. Reordering windows this way is fun.
>
> buttonkillclient() runs killclient() and then hides all pointer events
> from the remaining clients until all buttons are released. It's
> useful if you want to bind a mouse button on ClkClientWin to
> killclient - without my wrapper, the pointer grab is lost when the
> client dies, so the ButtonRelease gets sent to some other client. If
> you use button 2 for this, something embarrassing might get pasted
> into a chat window :-).
>
> Perhaps this could somehow be solved in grabbuttons() instead. I don't
> know.
>
> I use them with hg tip, which is dwm 5.5 or 5.4 or something.
>
Received on Fri Mar 20 2009 - 21:05:04 UTC

This archive was generated by hypermail 2.2.0 : Fri Mar 20 2009 - 21:48:05 UTC