I'm not quite sure yet what the bug is here. Try to find out whether FLTK calls XCloseDisplay() or not, lets start from there.
You were right, FLTK does not call XCloseDisplay() and recommends not to do that. The demo applications just make an exit(0);
You have to add the function: "fl_close_display();" just before the "exit(0);" in the application code to have NXlib execute GrClose(); (if enabled)
To be able to use this function you have to include this header file: "#include <FL/x.H>"
Georg
--------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org