summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-10-30 17:25:49 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-10-30 17:25:49 +0100
commit2f64c6a86194db91be2ca873036b683f8f5b8739 (patch)
treeb550a610346859721e378fb602fbeec91c80d4da /src/Fl_x.cxx
parentffcf8bd0b78255ad7ad3a62a5826c1fa6096cd5e (diff)
Concentrate source code that supports Darwin + XQuartz + fink as test platform
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 6c1da73a4..59c442ed5 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -697,7 +697,7 @@ void fl_open_display(Display* d) {
#if USE_XRANDR
void *libxrandr_addr = dlopen("libXrandr.so.2", RTLD_LAZY);
- if (!libxrandr_addr) libxrandr_addr = dlopen("libXrandr.so", RTLD_LAZY);
+ if (!libxrandr_addr) libxrandr_addr = Fl::system_driver()->dlopen("libXrandr.so");
if (libxrandr_addr) {
int error_base;
typedef Bool (*XRRQueryExtension_type)(Display*, int*, int*);