mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] mouse: window enter should not enable drawing the cursor
The pointer may not yet be in the view area so we should defer drawing it until the mouse move handler determines that it's inside the view area and turn it on itself.
This commit is contained in:
parent
dc3d07302f
commit
f18f07deaf
@ -1174,7 +1174,6 @@ void app_handleWindowLeave(void)
|
||||
|
||||
if (!params.alwaysShowCursor)
|
||||
g_cursor.draw = false;
|
||||
|
||||
g_cursor.redraw = true;
|
||||
}
|
||||
|
||||
@ -1183,9 +1182,6 @@ void app_handleWindowEnter(void)
|
||||
g_cursor.inWindow = true;
|
||||
if (!app_inputEnabled())
|
||||
return;
|
||||
|
||||
g_cursor.draw = true;
|
||||
g_cursor.redraw = true;
|
||||
}
|
||||
|
||||
static void setGrab(bool enable)
|
||||
|
Loading…
Reference in New Issue
Block a user