mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 19:10:24 +08:00
Fix regression introduced at 41740ca for non resizable windows - cont'd
This commit is contained in:
@@ -503,7 +503,7 @@ int Fl_Screen_Driver::scale_handler(int event)
|
|||||||
if (!top->parent() &&
|
if (!top->parent() &&
|
||||||
(Fl_Window_Driver::driver(top)->screen_num() == screen ||
|
(Fl_Window_Driver::driver(top)->screen_num() == screen ||
|
||||||
screen_dr->rescalable() == SYSTEMWIDE_APP_SCALING)) {
|
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);
|
top = Fl::next_window(top);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user