mirror of
https://github.com/glfw/glfw.git
synced 2026-02-20 22:23:12 +01:00
Documented hidden cursor workaround.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user