diff options
| author | Manolo Gouy <Manolo> | 2017-07-04 18:55:05 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-07-04 18:55:05 +0000 |
| commit | ab208735fa0a8d1d264b854cfacee5b608b34e61 (patch) | |
| tree | 76a1d70ff43f8cd6c22ea1d0ba6f44831a946288 | |
| parent | 976959c98e0fbe652b1fe50a83b4e2c039721657 (diff) | |
HiDPI support under WIN32: fix fullscreen when several monitors of distinct resolution.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx index 474f019dc..0e8e9b3d3 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx @@ -532,7 +532,7 @@ void Fl_WinAPI_Window_Driver::make_fullscreen(int X, int Y, int W, int H) { right = fullscreen_screen_right(); if ((top < 0) || (bottom < 0) || (left < 0) || (right < 0)) { - top = Fl::screen_num(X, Y, W, H); + top = screen_num(); bottom = top; left = top; right = top; |
