From bfac49015c9b51be50c4a563c42fb25b6af4208f Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 8 Jun 2018 11:31:30 +0000 Subject: Fix for STR#3475: X11 platform, re-use current screen scaling factor when processing a screen reconfiguration event. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12939 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Screen_Driver.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index a26dfc81d..ff9dfa32d 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -170,7 +170,7 @@ public: static int scale_handler(int event); virtual void init_workarea() {} virtual float desktop_scale_factor() {return 1;} - void use_startup_scale_factor(); + float use_startup_scale_factor(); enum APP_SCALING_CAPABILITY { NO_APP_SCALING = 0, ///< The platform does not support rescaling. SYSTEMWIDE_APP_SCALING, ///< The platform supports rescaling with the same factor for all screens. -- cgit v1.2.3