xdg-shell-v6: next_geometry and geometry fields are not longer pointers in wlr_xdg_surface_v6

This commit is contained in:
emersion 2018-03-13 22:17:25 +01:00
parent 149209b72e
commit ace738dbca
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 32 additions and 56 deletions

View file

@ -109,8 +109,8 @@ struct wlr_xdg_surface_v6 {
char *app_id;
bool has_next_geometry;
struct wlr_box *next_geometry;
struct wlr_box *geometry; // TODO: should not be a pointer
struct wlr_box next_geometry;
struct wlr_box geometry;
struct wl_listener surface_destroy_listener;