xdg-surface: fix init state flow
Fixes: #3677 (closed)
If a compositor tries to send a configure to an uninitialized xdg_surface
, an error is logged; see wayland/wayland-protocols#109. This might become a hard crash in the future.
Edited by Kirill Primak