Re: Focus problems with firefox (and possibly others) possibly fixed

"Matthew D. Fuller" <[email protected]>
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
On Sat, Apr 21, 2018 at 06:46:02PM +0200 I heard the voice of
Rhialto, and lo! it spake thus:
> 
> 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.

Yeah, it's actually an intermediate step that hits us.  We get a Leave
NotifyNonlinear on the Firefox window, which hits the bottom 3rd
branch there and InstallColormap()'s for leaving that window.  Then we
get the Leave NotifyNonlinearVirtual on the _frame_ around firefox and
hit the first; _that's_ what moved the focus to the root, and
squirreled up the whole process.

So, just like we scan for already-queued Enter's and skip [most]
things if we find one (no point spending time doing something that's
about to be superceded), my logic is that the Virtual's are always
intermediate steps in a process and we should just skip 'em.


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

Yeah, things are tough nowadays.  Remember back when you could just
fix a bug by just fixing it, without hiring an artist to create a logo
before you could release the fix?   ;>


-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.