mirror of
https://github.com/fltk/fltk.git
synced 2026-05-20 04:31:25 +08:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user