diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-03 17:50:49 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-03 17:50:49 +0100 |
| commit | 130f5b6dc1c2258b1a05c9319d796b96dc2d4f7e (patch) | |
| tree | 41d40ad5e87e2ffb207482dac00ec50310bc6263 /src/Fl_Screen_Driver.cxx | |
| parent | d832ab742a9247b928c530a91d195410b17387b4 (diff) | |
A window needs is_resizable() true to obey fullscreen() or maximize()
Diffstat (limited to 'src/Fl_Screen_Driver.cxx')
| -rw-r--r-- | src/Fl_Screen_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx index fc70f7933..12453b89e 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 (Fl_Window_Driver::driver(top)->is_resizable() && (top->fullscreen_active() || top->maximize_active())) return 0; + if (top->fullscreen_active() || top->maximize_active()) return 0; } top = Fl::next_window(top); } |
