From a41057714f786bfe6a797cb8393b49e6870d5329 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 21 Apr 2018 19:12:49 +0100 Subject: [PATCH] Update for wlroots#885 --- sway/tree/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/tree/view.c b/sway/tree/view.c index b92c7099..92767188 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -327,7 +327,7 @@ static void view_child_handle_view_unmap(struct wl_listener *listener, static void view_init_subsurfaces(struct sway_view *view, struct wlr_surface *surface) { struct wlr_subsurface *subsurface; - wl_list_for_each(subsurface, &surface->subsurface_list, parent_link) { + wl_list_for_each(subsurface, &surface->subsurfaces, parent_link) { view_subsurface_create(view, subsurface); } }