From ab208735fa0a8d1d264b854cfacee5b608b34e61 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 4 Jul 2017 18:55:05 +0000 Subject: 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 --- src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3