mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user