Update for wlroots#885

This commit is contained in:
emersion 2018-04-21 19:12:49 +01:00
parent 72149111a5
commit a41057714f
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}