diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-11-08 14:36:56 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-11-08 14:36:56 +0000 |
| commit | 37d1178c11bae1c9c7a72816d1cad508fabe4e27 (patch) | |
| tree | ea3c822a0732334a23ad74f5fb7ef448e677df13 /src/Fl_Window_fullscreen.cxx | |
| parent | 39be2233f48d90a9114e078f15507c31f4df4f45 (diff) | |
WIN32 fixes from Gustavo for fullscreen mode problems.
git-svn-id: file:///fltk/svn/fltk/trunk@68 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Window_fullscreen.cxx')
| -rw-r--r-- | src/Fl_Window_fullscreen.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Fl_Window_fullscreen.cxx b/src/Fl_Window_fullscreen.cxx index e6e7ad643..47a170d05 100644 --- a/src/Fl_Window_fullscreen.cxx +++ b/src/Fl_Window_fullscreen.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Window_fullscreen.cxx,v 1.3 1998/10/21 14:20:27 mike Exp $" +// "$Id: Fl_Window_fullscreen.cxx,v 1.4 1998/11/08 14:36:55 mike Exp $" // // Fullscreen window support for the Fast Light Tool Kit (FLTK). // @@ -53,22 +53,23 @@ void Fl_Window::border(int b) { } void Fl_Window::fullscreen() { +#ifndef WIN32 + //this would clobber the fake wm, since it relies on the border flags to + //determine its thickness border(0); +#endif if (!x()) x(1); // force it to call XResizeWindow() resize(0,0,Fl::w(),Fl::h()); } void Fl_Window::fullscreen_off(int X,int Y,int W,int H) { -#ifdef WIN32 - border(1); - resize(X,Y,W,H); -#else // this order produces less blinking on IRIX: resize(X,Y,W,H); +#ifndef WIN32 border(1); #endif } // -// End of "$Id: Fl_Window_fullscreen.cxx,v 1.3 1998/10/21 14:20:27 mike Exp $". +// End of "$Id: Fl_Window_fullscreen.cxx,v 1.4 1998/11/08 14:36:55 mike Exp $". // |
