From 7fea97c7a7dd36ad15b8d70f339c901adf88ba46 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 2 Mar 2024 20:01:43 +0100 Subject: Fix regression introduced at 41740ca for non resizable windows - cont'd --- src/Fl_Screen_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx index 455c2c5fd..fc70f7933 100644 --- a/src/Fl_Screen_Driver.cxx +++ b/src/Fl_Screen_Driver.cxx @@ -503,7 +503,7 @@ int Fl_Screen_Driver::scale_handler(int event) if (!top->parent() && (Fl_Window_Driver::driver(top)->screen_num() == screen || screen_dr->rescalable() == SYSTEMWIDE_APP_SCALING)) { - if (top->resizable() && (top->fullscreen_active() || top->maximize_active())) return 0; + if (Fl_Window_Driver::driver(top)->is_resizable() && (top->fullscreen_active() || top->maximize_active())) return 0; } top = Fl::next_window(top); } -- cgit v1.2.3