[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 authored and Geoffrey McRae committed 2021-01-17 10:37:54 +11:00
1 parent f1033fa4bb
commit c69b86ab6e
1 file changed
-5
-5
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;