diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-04 16:25:45 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-03-04 16:25:45 +0100 |
| commit | a0ff3f6f5c6994f4260685d70cc5f8349a8fdb69 (patch) | |
| tree | ddf7d19a45efc422aa0eeef16bdf2336163d8018 /src/Fl.cxx | |
| parent | 7777a503ada1d7d7ae2e30897efa52bcd0b36df6 (diff) | |
Fix Scaling window up/down also scales X/Y position on secondary displays only (#925)
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 43115cc6a..0501483a6 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -2274,9 +2274,9 @@ void Fl::screen_scale(int n, float factor) { if (!capability || n < 0 || n >= Fl::screen_count()) return; if (capability == Fl_Screen_Driver::SYSTEMWIDE_APP_SCALING) { for (int s = 0; s < Fl::screen_count(); s++) { - Fl::screen_driver()->rescale_all_windows_from_screen(s, factor); + Fl::screen_driver()->rescale_all_windows_from_screen(s, factor, factor); } - } else Fl::screen_driver()->rescale_all_windows_from_screen(n, factor); + } else Fl::screen_driver()->rescale_all_windows_from_screen(n, factor, factor); } /** |
