Re: Binding a function to key+mousebutton

2019-06-29 Thread Steve Litt


On Sat, 29 Jun 2019 00:29:03 -0400
Stefan Monnier  wrote:

> > I'd suggest commenting out the Ungrab call and running with it.  See
> > what happens   :)  
> 
> FWIW, I think keeping the mouse pointer grabbed all the way until the
> exec'd command terminates seems like an awful long time.

I think he meant it as a diagnostic test, not as a permanent fix.

SteveT

Steve Litt 
June 2019 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive



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

2019-06-29 Thread Rhialto
On Wed 26 Jun 2019 at 21:56:07 -0500, Matthew D. Fuller wrote:
> So, the solution to _a_ problem (maybe not yours) is that we need to

Looking at my test case (Xine), it has indeed a small window with
playback controls, and it is also a transient of the main window
(fullscreenable).

WM_NAME(STRING) = "xine Panel"
WM_TRANSIENT_FOR(WINDOW): window id # 0x52002ff

With xprop(1) I noticed that it ALSO has

_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_TOOLBAR

which sounds weird to be, but it definitely complicates window stacking!

I didn't get a reliable way to get the crash. I just noticed it mostly
seemed to occur if I was switching to another workspace while the
main window fullscreened, or when switching away from fullscreen mode.
I didn't take notice of any other windows. I guess I'll experiment a bit
more.

> reposition even the 'small' transients up to the top of the stack,
> letting the 'small' just determine whether they get jammed on top of
> the main window or not.  Hopefully I can experiment more in the next
> few days...

My first impression, after reading your description, was that we have
found different problems. But now that my Xine Panel window turns out to
be transient as well, maybe it's the same one, or at least more related
than I thought. It is a fairly small window. But when taking focus away
from the main window, it also changes the calculated proper position of
the panel window.

-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
Description: PGP signature