summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Window_fullscreen.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Window_fullscreen.cxx b/src/Fl_Window_fullscreen.cxx
index de5cd0f5b..60b582f28 100644
--- a/src/Fl_Window_fullscreen.cxx
+++ b/src/Fl_Window_fullscreen.cxx
@@ -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