Re: [dev] dwm-5.7 Dual head setup

From: Anselm R Garbe <anselm_AT_garbe.us>
Date: Sun, 27 Sep 2009 08:48:30 +0100

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
Received on Sun Sep 27 2009 - 07:48:30 UTC

This archive was generated by hypermail 2.2.0 : Sun Sep 27 2009 - 08:00:02 UTC