From 37d1178c11bae1c9c7a72816d1cad508fabe4e27 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 8 Nov 1998 14:36:56 +0000 Subject: WIN32 fixes from Gustavo for fullscreen mode problems. git-svn-id: file:///fltk/svn/fltk/trunk@68 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window_fullscreen.cxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/Fl_Window_fullscreen.cxx') 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 $". // -- cgit v1.2.3