xdg-surface: sync with surface state flow

This commit is contained in:
Kirill Primak 2022-02-04 16:43:03 +03:00
parent 7d1b0e1f61
commit b16a95d754
2 changed files with 59 additions and 15 deletions

View file

@ -165,6 +165,8 @@ struct wlr_xdg_surface_configure {
struct wlr_xdg_surface_state {
uint32_t configure_serial;
struct wlr_box geometry;
struct wlr_surface_synced_state synced_state;
};
/**
@ -198,7 +200,8 @@ struct wlr_xdg_surface {
struct wlr_xdg_surface_state current, pending;
struct wl_listener surface_destroy;
struct wlr_surface_synced synced;
struct wl_listener surface_commit;
struct {