Re: assertion error "PRI(owl) >= priority" otp.c line 248

Rhialto <[email protected]>
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
On Sun 30 Jun 2019 at 18:36:20 -0500, Matthew D. Fuller wrote:
> > The change (or lack thereof) in SetFocus() makes no difference at
> > all in either case for me.  Which seems a strange; a fairly small
> > amount of thinking on the matter _does_ suggest it's a thing that
> > should be needed, but somehow...  isn't?  I'll have to think more on
> > that.
> 
> FWIW, I figured this out; a little experimentation showed that my
> crash happened on the OtpRestack on the _new_ focused window, not the
> _old_ being-unfocused window.  So it was because of the transient that
> wasn't pre-raised to where it was expected.  So maybe if your crash
> was on the way down, you may also have crashed in that second (when it
> wasn't lowered right), in which case the Focus NULL'ing wouldn't make
> a different.  Or maybe you crashed in the first one somehow, in which
> case it would have?  Mmph.  Lot of moving parts, to keep in the head,
> trying to guess...

Intersting! My theory so far was that *during* the change of focus, the
window depths might be inconsistent. But after OtpRestackWindow()ing the
newly focused window, it should be finished, and all consistent and
happy. That was consistent with my crash between the two calls to
OtpRestackWindow(). My change was also based on that idea.

So far I haven't turned on debugging to print all restacking operations,
but maybe it is time for that... and we might find out that everything
is different...

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- "What good is a Ring of Power
\X/ rhialto/at/falu.nl      -- if you're unable...to Speak." - Agent Elrond
signature.asc (application/pgp-signature, 455 B)
-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJdGkSXAAoJEJmJxkVhw/vTdj8IALo22Fs2Z57ogN8EIRqUdr8O
fWzQxyocyfHXgvC9NCIhULaqMdyuR+cgBqYOSMyGdx6PU/xrcRd5HnanOph7WElI
GWRDHG2daoflIPXI2PuP/1uN/3oDHx0FkfRcgv5K4cGaF8wk6HnfNjxvHwo9+lHo
Jtnp1Lv9w3KJv3iy1hlv9JHELgtLEwUUCeX31/k63ny05gIV8bajmijgNvVp6aj7
/hYrv3po4JL1sHE8mCSXE8AOgasBM3REgucn3iPSYhdGaFvSqPBRWyj/cZbe0Crg
n4CxZaFYf3HhNVocRMY+Dap2QPkxOF5boeWvPLYR2d+ranSqupT/N+fqOjBZbgk=
=2GFA
-----END PGP SIGNATURE-----
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.