backend/wayland: don't request a state too early

An xdg_toplevel configure sequence ends with xdg_surface.configure.
Wait for it before relaying the request to the guest compositor.
This commit is contained in:
Kirill Primak 2024-02-11 10:12:07 +03:00
parent a62dfebf10
commit 94e7165e85
2 changed files with 24 additions and 9 deletions

View file

@ -92,6 +92,9 @@ struct wlr_wl_output {
char *title;
// 0 if not requested
int32_t requested_width, requested_height;
bool configured;
uint32_t enter_serial;