Since the send-button-state request comes in on one socket and the wayland event we're looking for comes in on another socket, the order that we process the two in is undefined. Thus, button-test fails intermittently, depending on which event we process first. We change wl_display_flush() to wl_display_roundtrip(), to make sure that we deal with all wayland events before handling test protocol requests.
parent
1d1e0a5ffa
commit
128ee2c342
Loading…
Reference in new issue