From abd6502c9de0074634b7d2766437be37b9be5378 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 9 Dec 2021 19:53:34 +1100 Subject: [PATCH] [client] x11: cosmetics --- client/src/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/core.c b/client/src/core.c index 2af8907c..eb5e28b2 100644 --- a/client/src/core.c +++ b/client/src/core.c @@ -530,7 +530,9 @@ void core_handleMouseNormal(double ex, double ey) g_state.ds->ungrabPointer(); core_warpPointer(tx, ty, true); - if (!isInView() && tx >= 0 && tx < g_state.windowW && ty >= 0 && ty < g_state.windowH) + if (!isInView() && + tx >= 0 && tx < g_state.windowW && + ty >= 0 && ty < g_state.windowH) core_setCursorInView(false); break;