nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: [Nano-X] 0.88pre10 + fltk-nanox-pre6
From: Murphy C. Chen
Date: Mon, 10 Jul 2000 18:53:06 +0800 (CST)

Dear All,

	On my system, the mouse cursor doesn't move and keyboard input
	doesn't have any response.
	It seems something goes wrong with the event delivering mechanism.

	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



nanogui@linuxhacker.org