Re: [dev] dwm-5.7 Dual head setup

From: Julien Steinhauser <Julien.Steinhauser_AT_orange.fr>
Date: Sun, 27 Sep 2009 16:32:50 +0200

On Sun, Sep 27, 2009 at 08:48:30AM +0100, Anselm R Garbe wrote:
>
> 2009/9/27 Julien Steinhauser <Julien.Steinhauser_AT_orange.fr>:
> > On Sun, Sep 27, 2009 at 12:29:09AM +0200, Julien Steinhauser wrote:
> >>
> >> With brand new vanilla dwm-5.7, on my laptop with a screen
> >> on the vga output, when I open a term from laptop screen
> >> and that I shift it on vga screen, the focus goes also to vga.
> >> when I open a term on the vga and shift it on the laptop screen,
> >> the term is correctly shifted but the focus remains on the vga.
> >> Is this different behavior intended?
> >>
> >> I like the behavior focus follows shift, if it is a bug,
> >> it is a good one :) .
> >>
> >> As I'm writing this mail, I checked on vanilla 5.6.1,
> >> it behaves exactly the same.
> >
> > Actually, it was related to my mouse position, I can revert
> > this behavior by moving the mouse between screens. I didn't notice
> > it sooner because she's hidden with unclutter and
> > I don't often use it.
>
> Yes, dwm sets the input focus to the PointerRoot location if there are
> no remaining clients in the focused view. If there is a client window
> when this happens, dwm sees an enternotify event and focuses that
> client. I can't see a better approach, so I don't consider this as a
> bug.
>
> Kind regards,
> Anselm
>
>
That's good so, on the laptop, I just need a thumb stroke on the touchpad
to decide wether focus follows tagmon or not. :)

If someone wants to overide it, he can try something with swarp.
Received on Sun Sep 27 2009 - 14:32:50 UTC

This archive was generated by hypermail 2.2.0 : Sun Sep 27 2009 - 14:36:01 UTC