xdg-shell-v6: changed wlr_xdg_surface_v6_configure.toplevel_state to be NULL if surface isn't a toplevel

This commit is contained in:
emersion 2018-03-13 22:05:35 +01:00
parent e74ddaaf10
commit 657e5c8c0d
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 18 additions and 9 deletions

View file

@ -82,7 +82,7 @@ struct wlr_xdg_surface_v6_configure {
struct wl_list link; // wlr_xdg_surface_v6::configure_list
uint32_t serial;
struct wlr_xdg_toplevel_v6_state toplevel_state; // TODO: should be null-able
struct wlr_xdg_toplevel_v6_state *toplevel_state;
};
struct wlr_xdg_surface_v6 {