Norman Vine writes:

 > necessary fix so that PUI can do it's thing

Thanks for the patch, Norm.  It compiled fine and didn't cause any
obvious problems, but I noticed that the menu didn't disappear with
mouse motion as intended.

I have no objection to adding the glutPostRedisplay calls (they cannot
hurt, since FlightGear redraws the whole window every frame anyway).
I am curious, though, about why you moved the puMouse calls from
FGInput::doMouseClick and FGInput::doMouseMovement to GLUTmouse and
GLUTmotion.

I deliberately made the puMouse calls conditional on pass_through so
that PUI would *not* see clicks and movement in alternative modes like
the view mode -- with your change, PUI will always see clicks and
movement, no matter what the mouse mode.  Am I totally
misunderstanding how PUI works?


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to