summaryrefslogtreecommitdiff
path: root/src/Fl_Screen_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-27 18:52:25 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-27 18:52:25 +0100
commiteb3977ac4329aad3a09b88a1c3ff96284c47ac33 (patch)
tree45c96ed626bdc1060c98e9781a5f12fd4491b48b /src/Fl_Screen_Driver.cxx
parentfc46e771cdd5b90d33fc7f895886fc43dea351c7 (diff)
Fix regression introduced at 41740ca for non resizable windows
Diffstat (limited to 'src/Fl_Screen_Driver.cxx')
-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 112f376d3..ced46e75f 100644
--- a/src/Fl_Screen_Driver.cxx
+++ b/src/Fl_Screen_Driver.cxx
@@ -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);
}