From 1631e391879c85de3ee97406c19d6a8057294042 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 23 Aug 2022 09:02:06 +0200 Subject: [PATCH] Add FL_EXPORT directives erroneously removed at 7deff86. --- FL/x11.H | 2 +- src/Fl_Screen_Driver.H | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/FL/x11.H b/FL/x11.H index a9421b5f9..116870166 100644 --- a/FL/x11.H +++ b/FL/x11.H @@ -65,7 +65,7 @@ extern FL_EXPORT void *fl_xftfont; // With Xlib / X11 fonts, fl_xfont will return the current selected font. // With XFT / X11 fonts, fl_xfont will attempt to return the bitmap "core" font most // similar to (usually the same as) the current XFT font. -class Fl_XFont_On_Demand +class FL_EXPORT Fl_XFont_On_Demand { public: Fl_XFont_On_Demand(XFontStruct* p = NULL) : ptr(p) { } diff --git a/src/Fl_Screen_Driver.H b/src/Fl_Screen_Driver.H index e0395bd24..135a7bf5f 100644 --- a/src/Fl_Screen_Driver.H +++ b/src/Fl_Screen_Driver.H @@ -186,7 +186,8 @@ public: void rescale_all_windows_from_screen(int screen, float f); static void transient_scale_display(float f, int nscreen); - static int scale_handler(int event); + // need export to fltk_gl.so because used in glut_compatibility.cxx + static FL_EXPORT int scale_handler(int event); virtual void desktop_scale_factor() {} void use_startup_scale_factor(); enum APP_SCALING_CAPABILITY {