From eb3977ac4329aad3a09b88a1c3ff96284c47ac33 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 27 Feb 2024 18:52:25 +0100 Subject: Fix regression introduced at 41740ca for non resizable windows --- 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 112f376d3..ced46e75f 100644 --- a/src/Fl_Screen_Driver.cxx +++ b/src/Fl_Screen_Driver.cxx @@ -507,7 +507,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->fullscreen_active() || top->maximize_active()) return 0; + if (top->resizable() && (top->fullscreen_active() || top->maximize_active())) return 0; } top = Fl::next_window(top); } -- cgit v1.2.3