On Sat, Jun 14, 2008 at 06:31:31PM +0200, yy wrote:
> 2008/6/14 Johannes Hofmann <Johannes.Hofmann_AT_gmx.de>:
> > Hi,
> >
> > with current tip (118ea4f4f554) it seems no longer possible to focus
> > a client by clicking it with the left mouse button.
> > To reproduce move the mouse over the stack, focus the main window
> > using MODKEY-k, close that window e.g. using Ctrl-d. Now it is not
> > possible to focus the window under the mouse by clicking on it.
> >
> > Regards,
> > Johannes
> >
> >
>
> It's true, this is something I changed in my dwm after sending the
> patch to the list (I didn't know it was going to be applied). This (in
> buttonpress()) will do the trick:
>
> else if((c = getclient(ev->window))) {
> click = ClkClientWin;
> focus(c);
> }
>
Yes, that fixes it. Thanks!
Johannes
Received on Sat Jun 14 2008 - 18:35:07 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:49:30 UTC