Thank you! But, unfortunately, it is not enough :)

Look at my example and see that Y value now is relative to the main
window not to the glcanvas I click in, as expected. :)))

Thanks!

--
Sergey

On Tue, Aug 30, 2005 at 10:18:24PM +0200, Bernd Paysan wrote:
> On Tuesday 30 August 2005 20:44, Sergey Plis wrote:
> > Actually the correction does not quite work. The problem now is with
> > DOPRESS
> >
> > Just a slightly modified code follows this message. When I call
> > DOPRESS on the first glcanvas in the list everything works fine.
> > However, on the second glcanvas (and on the next I believe) when I
> > release the mouse DOPRESS returns for the Y coordinate the glcanvas
> > height instead of the last mouse point location. You can see this
> > happening on the stack content output in the attached example.
> 
> Change the definition of mxy! in window-stub (screen 368) to
> 
> : mxy!   transclick dpy mxy! ;
> 
> I really should write a small program using an interactive glcanvas 
> myself, to get through all these bugs ;-).
> 
> -- 
> Bernd Paysan
> "If you want it done right, you have to do it yourself"
> http://www.jwdt.com/~paysan/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to