Blocking in wl_display_dispatch, which should be replaced by wl_display_dispatch_pending as long as surface is not configured.
This is what weston/clients/simple-egl.c is doing.
Also what I am doing here in the D bindings: https://github.com/rtbo/wayland-d/blob/master/examples/egl_window/source/egl_window.d
Blocking in
wl_display_dispatch, which should be replaced bywl_display_dispatch_pendingas long as surface is not configured.This is what
weston/clients/simple-egl.cis doing.Also what I am doing here in the D bindings: https://github.com/rtbo/wayland-d/blob/master/examples/egl_window/source/egl_window.d