Assume event queue is empty if another thread is blocking waiting for event.
If one thread was blocking waiting for an event and another thread sent a
reply to the X server, both threads got blocked until an event was
Signed-off-by: Tatu Frisk firstname.lastname@example.org
Signed-off-by: Jose Alarcon email@example.com