waylandsink: Wait for the surface to be configured
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 26 Mar 2019 02:21:09 +0000 (22:21 -0400)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Wed, 3 Apr 2019 18:20:58 +0000 (18:20 +0000)
commit3fea1fa50b633ce6603bfba67dbce40598a8af70
treebc01fefd94953a8ee79ec4a732186d336306e3eb
parent0e89f2a6d9323c1f8ff4a2b03d8dcb713a8e8bab
waylandsink: Wait for the surface to be configured

With latest XDG shell, we need to fait for the surface to have been
configured before we can attach a buffer to it. This is being enforce by
Weston with an error.

Fixes #933
ext/wayland/wlwindow.c
ext/wayland/wlwindow.h