xdg-toplevel: sync with surface state flow

This commit is contained in:
Kirill Primak 2022-02-04 16:52:05 +03:00
parent b16a95d754
commit cc8b4f8fb2
3 changed files with 63 additions and 3 deletions

View file

@ -106,6 +106,8 @@ struct wlr_xdg_toplevel_state {
uint32_t width, height;
uint32_t max_width, max_height;
uint32_t min_width, min_height;
struct wlr_surface_synced_state synced_state;
};
struct wlr_xdg_toplevel_configure {
@ -141,6 +143,8 @@ struct wlr_xdg_toplevel {
char *title;
char *app_id;
struct wlr_surface_synced synced;
struct {
struct wl_signal request_maximize;
struct wl_signal request_fullscreen;