Fix regression introduced at 41740ca for non resizable windows - cont'd

This commit is contained in:
ManoloFLTK 2024-03-02 20:01:43 +01:00
parent c9f54ad744
commit 7fea97c7a7

View File

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