On 09.11.2011 15:14, Albrecht Schlosser wrote:

> If it is U*IX and you use an X server, then try to add
> two or three calls to Fl::wait(0.5) after the Fl::run() loop.
> Does this remove the window from the screen?

Okay, I just tested it on Linux, and what I found out was that
a single call to Fl::check() is enough to remove the window in
my tests on a local X server and on a remote X server as well.

Hence, your code could probably be like:

// init GUI, show window, ...
Fl::run();
Fl::check();
// do other things...

Albrecht

P.S.: please post your replies and further questions to fltk.general,
since fltk.bugs is reserved for our automatic bug tracking system.
Thanks.
_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to