mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:03:40 +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)
|
||||
{
|
||||
if (!g_cursor.inWindow && !exiting)
|
||||
return false;
|
||||
|
||||
if (g_cursor.warpState == WARP_STATE_OFF)
|
||||
if ((!g_cursor.inWindow && !exiting) ||
|
||||
g_state.overlayInput ||
|
||||
g_cursor.warpState == WARP_STATE_OFF)
|
||||
return false;
|
||||
|
||||
if (exiting)
|
||||
|
Loading…
Reference in New Issue
Block a user