Fix regression introduced at 41740ca for non resizable windows

This commit is contained in:
ManoloFLTK 2024-02-27 18:52:25 +01:00
parent fc46e771cd
commit eb3977ac43

View File

@ -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);
}