On Thursday 04 August 2005 20:49, Bernd Paysan wrote: > Nothing. I tried a simplified example, and the OpenGL window "eats" > the events (i.e. it passes the clicks to the outer window, but > doesn't pass the mouse movements). I'll try to find a way around > that.
Ok, found it. The first change necessary is the MotionNotify handler, it
has a !MOVED ON sequence (screen 90 in minos.fb, search for
MotionNotify). This needs to be replaced with MOVED! (the method to do
that. The second one is the window-stub class (screen 366, search for
"class window-stub"). Go to the next screen, there's some empty space
left. Insert, before CLASS;
: moved! dpy moved! ;
: mxy! dpy mxy! ; class;
This will cause the mouse movement events to be reported to the next
level. Then it should work (well, it does work here, otherwise I
wouldn't claim things like that ;-).
--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
pgp7ysiU8yPbI.pgp
Description: PGP signature
