From c6045962dba33eb86e13bc416fa76a7a21b93be5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 27 Dec 2017 07:48:52 +0000 Subject: Continue support for GUI rescaling under MacOS: fix test/resize() application - continued git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 95bf05f70..64363af41 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3264,6 +3264,7 @@ void Fl_Cocoa_Window_Driver::resize(int X,int Y,int W,int H) { return; } if ( (resize_from_system != pWindow) && shown()) { + float s = Fl::screen_driver()->scale(screen_num()); if (is_a_resize) { if (pWindow->resizable()) { int min_w = minw(), max_w = maxw(), min_h = minh(), max_h = maxh(); -- cgit v1.2.3