Remove wlr_surface::subsurface

This commit is contained in:
emersion 2018-04-21 18:40:25 +01:00
parent b116414bd5
commit fa84b267e0
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
6 changed files with 51 additions and 51 deletions

View file

@ -459,7 +459,7 @@ void view_map(struct roots_view *view, struct wlr_surface *surface) {
view->wlr_surface = surface;
struct wlr_subsurface *subsurface;
wl_list_for_each(subsurface, &view->wlr_surface->subsurface_list,
wl_list_for_each(subsurface, &view->wlr_surface->subsurfaces,
parent_link) {
subsurface_create(view, subsurface);
}

View file

@ -318,7 +318,7 @@ static void render_view(struct roots_view *view, struct render_data *data) {
}
static bool has_standalone_surface(struct roots_view *view) {
if (!wl_list_empty(&view->wlr_surface->subsurface_list)) {
if (!wl_list_empty(&view->wlr_surface->subsurfaces)) {
return false;
}