Added multi screen awareness to WIN32 version of Fl_Window::fullscreen()

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2005-12-01 08:56:24 +00:00
parent 8a029d8f8d
commit cb19f58484
+1 -1
View File
@@ -68,7 +68,7 @@ void Fl_Window::fullscreen() {
//determine its thickness
border(0);
#endif
#ifdef __APPLE__
#if defined(__APPLE__) || defined(WIN32)
int sx, sy, sw, sh;
Fl::screen_xywh(sx, sy, sw, sh, x()+w()/2, y()+h()/2);
// if we are on the main screen, we will leave the system menu bar unobstructed