xdg-shell: don't populate current state on ack_configure

The xdg_surface.ack_configure request is double-buffered state.
We shouldn't apply it immediately, we should wait for the surface
commit to be applied.
This commit is contained in:
Simon Ser 2021-07-06 19:46:52 +02:00
parent 9c3163df7a
commit 8e91913452
2 changed files with 3 additions and 1 deletions

View file

@ -150,6 +150,7 @@ struct wlr_xdg_surface_configure {
};
struct wlr_xdg_surface_state {
uint32_t configure_serial;
bool has_geometry;
struct wlr_box geometry;