diff --git a/src/detection/opengl/opengl_linux.c b/src/detection/opengl/opengl_linux.c index 452d3e6bd..1aaf49f22 100644 --- a/src/detection/opengl/opengl_linux.c +++ b/src/detection/opengl/opengl_linux.c @@ -1,5 +1,6 @@ #include "fastfetch.h" #include "opengl.h" +#include "common/io/io.h" #include @@ -140,6 +141,8 @@ static const char* detectByGlx(FFOpenGLResult* result) FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(glx, data, XCloseDisplay); FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(glx, data, XFree); + FF_SUPPRESS_IO(); + return glxHandleData(result, &data); }