summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 71d9d95a6..f81ceff9f 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -1252,7 +1252,7 @@ int fl_handle(const XEvent& thisevent)
XRRUpdateConfiguration_f(&xevent);
Fl::call_screen_init();
#if USE_XFT
- float factor = Fl::screen_driver()->default_scale_factor();
+ float factor = Fl::screen_driver()->desktop_scale_factor();
for (int screen = 0; screen <= Fl::screen_count(); screen++)
Fl::screen_driver()->rescale_all_windows_from_screen(screen, factor);
#endif // USE_XFT