diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-12-01 08:56:24 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-12-01 08:56:24 +0000 |
| commit | cb19f58484354702f1564d24712ac1f583dc9d59 (patch) | |
| tree | e0edd968941bdcd184fb6c8257388c7f897f7c93 /src | |
| parent | 8a029d8f8d4cd1424c4551c2cbab364381527305 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Window_fullscreen.cxx | 2 |
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 |
