$OpenBSD: patch-src_x11_init_c,v 1.1 2021/05/09 05:28:17 kmos Exp $

Fix cursor hiding

Index: src/x11_init.c
--- src/x11_init.c.orig
+++ src/x11_init.c
@@ -710,6 +710,8 @@ static GLFWbool initExtensions(void)
 
 #if defined(__CYGWIN__)
     _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor-1.so");
+#elif defined(__OpenBSD__)
+    _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor.so");
 #else
     _glfw.x11.xcursor.handle = _glfw_dlopen("libXcursor.so.1");
 #endif
