> Sparkaround wrote:
> > If I use Fl_Double_Window as the top window, it will take the window 
> > several seconds to response to keyboard input ('a' or ESC).  If I replace 
> > the window with Fl_Window, the program can exit at once when I press 'a' or 
> > ESC.  Why is Fl_Double_Window so slow?
>
>       Platform/Fltk version?
>
>       I can't replicate on linux with fltk 1.3 current.
>
>       Possibly unrelated, but just for correctness; I'm pretty sure you want
>       the update() function to use repeat_timeout().
>
>       Differences in timeout management being affected by Fl_Window
>       vs. Fl_Double_Window sounds weird, but first I'd make the above change.

I have tried repeat_time, but the result is the same. And if w.fullscreen() is 
called, it is very difficult to stop the program by pressing 'a' or 'ESC'.

It was tested on 32bit linux with current fltk-1.3.x-r7555.
Xorg 1.6.5 + Fvwm.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to