mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-24 14:33:38 +00:00
[client] core: never allow warp when the overlay is active
This commit is contained in:
parent
ff01a197f3
commit
38ddfc0b61
@ -147,10 +147,9 @@ void core_setGrabQuiet(bool enable)
|
|||||||
|
|
||||||
bool core_warpPointer(int x, int y, bool exiting)
|
bool core_warpPointer(int x, int y, bool exiting)
|
||||||
{
|
{
|
||||||
if (!g_cursor.inWindow && !exiting)
|
if ((!g_cursor.inWindow && !exiting) ||
|
||||||
return false;
|
g_state.overlayInput ||
|
||||||
|
g_cursor.warpState == WARP_STATE_OFF)
|
||||||
if (g_cursor.warpState == WARP_STATE_OFF)
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (exiting)
|
if (exiting)
|
||||||
|
Loading…
Reference in New Issue
Block a user