Waylandsink gnome shell workaround
There is a bug in gnome-shell implementation of wayland, which leads to not sending the configure event of a surface before a buffer is attached, while not waiting on that event cause hard failure on Weston. This workaround it by adding a timeout on the wait.
cc @nielsdg
Edited by Nicolas Dufresne