Documented hidden cursor workaround.

master
Camilla Berglund ago%!(EXTRA string=11 years)
parent a343e9a475
commit cf7dc1d737
  1. 2
      src/x11_window.c

@ -1058,6 +1058,8 @@ static void processEvent(XEvent *event)
case EnterNotify: 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) if (window->cursorMode == GLFW_CURSOR_HIDDEN)
hideCursor(window); hideCursor(window);

Loading…
Cancel
Save