mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-07 03:04:05 +00:00
[client] x11: don't hang when there are no message pending
This commit is contained in:
@@ -724,7 +724,7 @@ static int x11EventThread(void * unused)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (nfds == 0)
|
||||
if (nfds == 0 || !XPending(x11.display))
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user