summaryrefslogtreecommitdiff
path: root/src/Fl_Screen_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-04 16:25:45 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-04 16:25:45 +0100
commita0ff3f6f5c6994f4260685d70cc5f8349a8fdb69 (patch)
treeddf7d19a45efc422aa0eeef16bdf2336163d8018 /src/Fl_Screen_Driver.H
parent7777a503ada1d7d7ae2e30897efa52bcd0b36df6 (diff)
Fix Scaling window up/down also scales X/Y position on secondary displays only (#925)
Diffstat (limited to 'src/Fl_Screen_Driver.H')
-rw-r--r--src/Fl_Screen_Driver.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Screen_Driver.H b/src/Fl_Screen_Driver.H
index 6371e57e9..e57aadcc8 100644
--- a/src/Fl_Screen_Driver.H
+++ b/src/Fl_Screen_Driver.H
@@ -219,7 +219,7 @@ public:
// compute dimensions of an Fl_Offscreen
virtual void offscreen_size(Fl_Offscreen, int &/*width*/, int &/*height*/) {}
- void rescale_all_windows_from_screen(int screen, float f);
+ void rescale_all_windows_from_screen(int screen, float f, float old_f);
static void transient_scale_display(float f, int nscreen);
// need export to fltk_gl.so because used in glut_compatibility.cxx
static FL_EXPORT int scale_handler(int event);