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
1 changed files with 1 additions and 1 deletions

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