tilemovemouse() rocks! Big thanks.

2009/3/20 Tony Lainson <t.lain...@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.
>

Reply via email to