2009/10/6 Szabolcs Nagy <nszabolcs_AT_gmail.com>:
> On 10/6/09, Szabolcs Nagy <nszabolcs_AT_gmail.com> wrote:
>> another corner case:
>
> enternotify is handled even when the entered window is already focused
> (eg moving the mouse to the bar and back, scrolling on the border..)
>
> focusing might be expensive for some clients (eg dim/light up)
>
> a possible solution is to modify enternotify:
>
> + c = wintoclient(ev->window);
> if((m = wintomon(ev->window)) && m != selmon) {
> unfocus(selmon->sel);
> selmon = m;
> }
> + else if (c == selmon->sel || c == NULL)
> + return;
Agreed, I'll add this on my TODO list.
Kind regards,
Anselm
Received on Tue Oct 13 2009 - 17:08:38 UTC
This archive was generated by hypermail 2.2.0 : Tue Oct 13 2009 - 17:12:04 UTC