On Fri 20 Apr 2018 at 22:43:05 -0500, Matthew D. Fuller wrote:
> So it turns in my best understanding that we actually need to be a
> little smarter about how we interpret the Leave events and shift the
> focus up to the root.  I've got a change up in a branch at
> <https://code.launchpad.net/~fullermd/ctwm/focus> which fixes things
> for me.  Some broader testing would be good; especially from people
> running with multiple Screen's (:0.0, :0.1, etc; not Xinerama-ish
> mode), since that has its own case with Leave's.

I'm running it now; indeed I notice that the weirdness with the Firefox
URL bar is fixed!

From the description, I'd guess that ctwm was receiving a Leave message
with NotifyNonLinear when Firefox was moving the focus was moving from
its main window to the dropdown. But that isn't a case which is affected
in the change. So I guess there is something I'm still missing.

>     This seems to be a "bug" (at least very bad interaction) that goes
>     all the way back to twm   :)

We should make a one-issue website about it and give this bug a cool
name! Something like FocusDown, or SpectreFocus or something ;-)

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl      -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature

Reply via email to