diff --git a/client/src/main.c b/client/src/main.c index 3205c0a3..7144b786 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -979,8 +979,8 @@ static void handleMouseNormal(double ex, double ey) struct DoublePoint guest = { - .x = (g_cursor.pos.x - g_state.dstRect.x) * g_cursor.scale.x * g_cursor.dpiScale, - .y = (g_cursor.pos.y - g_state.dstRect.y) * g_cursor.scale.y * g_cursor.dpiScale + .x = (g_cursor.pos.x - g_state.dstRect.x) * g_cursor.scale.x, + .y = (g_cursor.pos.y - g_state.dstRect.y) * g_cursor.scale.y }; /* add the difference to the offset */