Comment 1 for bug 1211076

Revision history for this message
Axel Davy (davyaxel) wrote :

I've learned that wl_display_dispatch implicitly flushes requests, so my comment about it was bad.
The only problem is that it waits at least one event to come.

Instead wl_display_roundtrip is similar to wl_display_dispatch, but use a sync request to receive an event and prevent blocking.