Documented hidden cursor workaround.

This commit is contained in:
Camilla Berglund 2015-02-22 14:59:55 +01:00
parent a343e9a475
commit cf7dc1d737

View File

@ -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);