summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-31 09:51:10 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-31 09:51:10 +0200
commitba03dde15c399fe0c233c3885c9c2f75fac10a9e (patch)
tree98eccd3f452282e833fab212ce2e26a12dc885e7 /src/Fl_x.cxx
parentef414097598e2afbfaf69eed46477da80400c1a0 (diff)
Move probe_for_GTK() to class Fl_Posix_System_Driver from Fl_X11_System_Driver.
Similarly move dlopen_or_dlsym(). This move is because GTK is not X11-specific.
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 c4c635125..35f7e4d8f 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -789,7 +789,7 @@ void open_display_i(Display* d) {
#endif
#if USE_XRANDR
- void *libxrandr_addr = Fl_X11_System_Driver::dlopen_or_dlsym("libXrandr");
+ void *libxrandr_addr = Fl_Posix_System_Driver::dlopen_or_dlsym("libXrandr");
if (libxrandr_addr) {
int error_base;
typedef Bool (*XRRQueryExtension_type)(Display*, int*, int*);