diff --git a/client/src/main.c b/client/src/main.c index 1eadee50..e9d4bb6c 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1275,6 +1275,8 @@ void app_handleMouseNormal(double ex, double ey) g_cursor.pos.y < g_state.dstRect.y + g_state.dstRect.h; setCursorInView(inView); + if (inView) + g_cursor.realign = true; } /* nothing to do if we are outside the viewport */