[client] x11: cosmetics

This commit is contained in:
Geoffrey McRae 2021-12-09 19:53:34 +11:00
parent 50feacad13
commit abd6502c9d

View File

@ -530,7 +530,9 @@ void core_handleMouseNormal(double ex, double ey)
g_state.ds->ungrabPointer(); g_state.ds->ungrabPointer();
core_warpPointer(tx, ty, true); 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); core_setCursorInView(false);
break; break;