mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Documented hidden cursor workaround.
This commit is contained in:
parent
a343e9a475
commit
cf7dc1d737
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user