From cf7dc1d73733f685ffb36639ef1a1c1130e9e62c Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 22 Feb 2015 14:59:55 +0100 Subject: [PATCH] Documented hidden cursor workaround. --- src/x11_window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x11_window.c b/src/x11_window.c index 2d1677ac..950078fa 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -1058,6 +1058,8 @@ static void processEvent(XEvent *event) case EnterNotify: { + // HACK: This is a workaround for WMs (KWM, Fluxbox) that otherwise + // ignore the defined cursor for hidden cursor mode if (window->cursorMode == GLFW_CURSOR_HIDDEN) hideCursor(window);