[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:
Tudor Brindus 2021-01-16 14:37:55 -05:00 committed by Geoffrey McRae
parent f1033fa4bb
commit c69b86ab6e

View file

@ -1121,13 +1121,8 @@ void app_handleMouseBasic()
g_cursor.pos.y >= g_state.dstRect.y &&
g_cursor.pos.y < g_state.dstRect.y + g_state.dstRect.h;
if (params.hideMouse && inView != g_cursor.inView)
if (inView != g_cursor.inView)
{
g_cursor.inView = inView;
setCursorInView(inView);
}
if (g_cursor.guest.dpiScale == 0)
return;