[client] x11: don't hang when there are no message pending

This commit is contained in:
Geoffrey McRae 2021-08-10 01:47:03 +10:00
parent e41cbf5f32
commit 1128eb0e84

View File

@ -724,7 +724,7 @@ static int x11EventThread(void * unused)
return 0; return 0;
} }
if (nfds == 0) if (nfds == 0 || !XPending(x11.display))
continue; continue;
} }