diff options
author | emersion <contact@emersion.fr> | 2018-04-21 18:40:25 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-21 18:40:25 +0100 |
commit | fa84b267e0fdc3bcdd43dc2d06b55ffad03059a3 (patch) | |
tree | 046f99d1ca723d9989c4187791b2d1c1204f7559 /rootston | |
parent | b116414bd5dbc15ec1df3734a4c99c1b5e304982 (diff) |
Remove wlr_surface::subsurface
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/desktop.c | 2 | ||||
-rw-r--r-- | rootston/output.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index 4edcb5e3..6ddf56b8 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -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); } diff --git a/rootston/output.c b/rootston/output.c index 75bbd928..791b2819 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -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; } |