Skip to content

Commit

Permalink
Added multi screen awareness to WIN32 version of Fl_Window::fullscreen()
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Matthias Melcher committed Dec 1, 2005
1 parent 8a029d8 commit cb19f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_Window_fullscreen.cxx
Expand Up @@ -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
Expand Down

0 comments on commit cb19f58

Please sign in to comment.