Hi Mariusz,

I found a regression since:
commit 926f458331a721217cf35d2680622e1a7b8cbc30
    event: FocusIn and FocusOut events handlers

with at least urxvt.
If a windows appears and steal the focus to urxvt (because new windows
get focus), then, when that windows is closed, urxvt does not know it
has the focus back.
For example, with ssh-askpass or pinentry it happens often.

You can easily reproduce this with default config:
- Run 2 urxvt. One is on the left, one is on the right.
- Move your mouse to the right urxvt: it gets focus.
- Run another urxvt: it gets the focus.
- Press Ctrl-d to close this new urxvt: focus go back to the urxvt which
  is on right of the screen (as border color shows), but urxvt cursor is
  not plain (and the window is faded if you use urxvt fading).

I'm not confortable with the various focus system you added, and I don't
know how to fix this. I can revert the problematic patch, but I'm not
sure that'd be a good fix anyway.

Any idea?

Cheers,
-- 
Julien Danjou
// ᐰ <[email protected]>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Anna Molly! Anna Molly! Anna Molly!

Attachment: signature.asc
Description: Digital signature

Reply via email to