From 7f7e0e4ea1cdf52e0d5f2858baa976bd391e973a Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 8 May 2020 17:08:20 +0200 Subject: Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale() so it can be called by any user code. --- src/Fl_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_cocoa.mm') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index aded8cb4e..02a270192 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3296,7 +3296,7 @@ void Fl_Cocoa_Window_Driver::resize(int X, int Y, int W, int H) { } else { NSPoint pt = FLTKtoCocoa(pWindow, X, Y, H); FLWindow *xid = fl_xid(pWindow); - if (W != w() || H != h() || is_a_rescale()) { + if (W != w() || H != h() || Fl_Window::is_a_rescale()) { NSRect r; float s = Fl::screen_driver()->scale(screen_num()); int bt = get_window_frame_sizes(pWindow); -- cgit v1.2.3