mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] x11: don't hang when there are no message pending
This commit is contained in:
parent
e41cbf5f32
commit
1128eb0e84
@ -724,7 +724,7 @@ static int x11EventThread(void * unused)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (nfds == 0)
|
||||
if (nfds == 0 || !XPending(x11.display))
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user