Skip to content
Commit ac20d4a2 authored by Manuel Stoeckl's avatar Manuel Stoeckl
Browse files

backend-wayland: replace a nested wl_display_roundtrip call



The wl_display_roundtrip call was originally introduced to let the
display_add_seat function wait until a wl_seat.name event was received.

This change replaces the wl_display_roundtrip call with an
asynchronous, nonrecursive equivalent. Now a wl_display.sync callback
is used to delay the final steps of adding a seat until one protocol
roundtrip has occured/the name has been received.

Signed-off-by: default avatarManuel Stoeckl <code@mstoeckl.com>
parent 43ec334c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment