mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[client] x11: fix broken grab retry logic
This commit is contained in:
parent
b6fa296d5a
commit
5f80ce91e8
@ -1661,7 +1661,12 @@ static void x11GrabPointer(void)
|
||||
// switching to a desktop that has LG on it fails with GrabFrozen, however
|
||||
// adding as short delay seems to resolve the issue.
|
||||
if (ret == GrabFrozen && retry == 0)
|
||||
{
|
||||
usleep(100000);
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
if (ret != Success)
|
||||
|
Loading…
Reference in New Issue
Block a user