Wayland: Load cursor theme at init even if no mouse pointer is currently present

This commit is contained in:
Kovid Goyal
2019-03-20 15:56:34 +05:30
parent d5490475f1
commit 106dc2b03b

2
glfw/wl_init.c vendored
View File

@@ -734,7 +734,7 @@ int _glfwPlatformInit(void)
_glfwInitTimerPOSIX();
if (_glfw.wl.pointer && _glfw.wl.shm)
if (_glfw.wl.shm)
{
const char *cursorTheme = getenv("XCURSOR_THEME"), *cursorSizeStr = getenv("XCURSOR_SIZE");
char *cursorSizeEnd;