mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] x11: cosmetics
This commit is contained in:
parent
50feacad13
commit
abd6502c9d
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user