nanogui@linuxhacker.org
nanogui@linuxhacker.org
Murphy, thanks !
My mouse is very glad. It can move :-)
I have compiled flnx / djgpp with your fix.
Victor.
Greg Haerr wrote:
> : Flnx/DJGPP has the same problem - I can see all demos, but mouse didn't
> move.
> :
>
> Does the attached fix from Murphy solve your problem, Victor?
>
> If so, I will change the FLTK nano-X port.
>
> Regards,
>
> Greg
>
> :
>
> : > : The following is a dirty fix to the problem:
> : > :
> : > : Originally, in Fl_x.cxx, Row 209:
> : > : --------------------------------
> : > : // GrCheckNextEvent(&ev);
> : > : // if(ev.type!=0)
> : > : if(GrPeekEvent(&ev))
> : > : {
> : > : do_queued_events();
> : > : return time;
> : > : }
> : > :
> : > : Dirty fix:
> : > : ---------
> : > : GrCheckNextEvent(&ev);
> : > : if(ev.type!=GR_EVENT_TYPE_NONE)
> : > : // if(GrPeekEvent(&ev))
> : > : {
> : > : fl_handle(ev);
> : > : do_queued_events();
> : > : return time;
> : > : }
> : > :
> : > : Hope this helps.
> : > :
> : > : Sincerely,
> : > : Murphy
> : > :
> : > :
> : > :
> : >
> : > ---------------------------------------------------------------------
> : > To unsubscribe, e-mail: nanogui-unsubscribe@linuxhacker.org
> : > For additional commands, e-mail: nanogui-help@linuxhacker.org
> :
> :
> : ---------------------------------------------------------------------
> : To unsubscribe, e-mail: nanogui-unsubscribe@linuxhacker.org
> : For additional commands, e-mail: nanogui-help@linuxhacker.org
> :
> :
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nanogui-unsubscribe@linuxhacker.org
> For additional commands, e-mail: nanogui-help@linuxhacker.org
nanogui@linuxhacker.org