aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'rootston')
-rw-r--r--rootston/desktop.c2
-rw-r--r--rootston/output.c2
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;
}