Skip to content

Commit 009a788

Browse files
committed
OpenGL (Linux): suppress IO
Fix #1435
1 parent ab1a11c commit 009a788

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/detection/opengl/opengl_linux.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "fastfetch.h"
22
#include "opengl.h"
3+
#include "common/io/io.h"
34

45
#include <string.h>
56

@@ -140,6 +141,8 @@ static const char* detectByGlx(FFOpenGLResult* result)
140141
FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(glx, data, XCloseDisplay);
141142
FF_LIBRARY_LOAD_SYMBOL_VAR_MESSAGE(glx, data, XFree);
142143

144+
FF_SUPPRESS_IO();
145+
143146
return glxHandleData(result, &data);
144147
}
145148

0 commit comments

Comments
 (0)