Indeed, it seems better...
But you can maybe help me a bit more, because I am interested to have this 
running properly also on MacOS, so if you know it works you can maybe give me 
the intersting lines.

Here is my current code:

#ifdef windows
   
this->resize(Fl::x(),Fl::y(),GetSystemMetrics(SM_CXSCREEN),GetSystemMetrics(SM_CYSCREEN));
#elif linux
   extern Display* fl_display;
   XWindowAttributes xwa;
   XGetWindowAttributes(fl_display, DefaultRootWindow(fl_display), &xwa);
   this->resize(Fl::x(),Fl::y(),xwa.width,xwa.height);
#else
   this->resize(Fl::x(),Fl::y(),Fl::w(),Fl::h());
#endif

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

Reply via email to