From a0ff3f6f5c6994f4260685d70cc5f8349a8fdb69 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:25:45 +0100 Subject: Fix Scaling window up/down also scales X/Y position on secondary displays only (#925) --- src/Fl_Screen_Driver.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Screen_Driver.H') 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); -- cgit v1.2.3