mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] mouse: remove erroneous guard for setCursorInView
This seems like a leftover from ef678ba
, but the guard already exists in
setCursorInView itself.
This commit is contained in:
parent
f1033fa4bb
commit
c69b86ab6e
@ -1121,13 +1121,8 @@ void app_handleMouseBasic()
|
|||||||
g_cursor.pos.y >= g_state.dstRect.y &&
|
g_cursor.pos.y >= g_state.dstRect.y &&
|
||||||
g_cursor.pos.y < g_state.dstRect.y + g_state.dstRect.h;
|
g_cursor.pos.y < g_state.dstRect.y + g_state.dstRect.h;
|
||||||
|
|
||||||
if (params.hideMouse && inView != g_cursor.inView)
|
|
||||||
|
|
||||||
if (inView != g_cursor.inView)
|
if (inView != g_cursor.inView)
|
||||||
{
|
|
||||||
g_cursor.inView = inView;
|
|
||||||
setCursorInView(inView);
|
setCursorInView(inView);
|
||||||
}
|
|
||||||
|
|
||||||
if (g_cursor.guest.dpiScale == 0)
|
if (g_cursor.guest.dpiScale == 0)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user