summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-02 20:01:43 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-02 20:02:11 +0100
commit7fea97c7a7dd36ad15b8d70f339c901adf88ba46 (patch)
tree15fdacdef2a8212e3f12010775857172fd4cce8d
parentc9f54ad744c57789bfba1c28c945502463f3c845 (diff)
Fix regression introduced at 41740ca for non resizable windows - cont'd
-rw-r--r--src/Fl_Screen_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx
index 455c2c5fd..fc70f7933 100644
--- a/src/Fl_Screen_Driver.cxx
+++ b/src/Fl_Screen_Driver.cxx
@@ -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);
}