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

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, static void view_init_subsurfaces(struct sway_view *view,
struct wlr_surface *surface) { struct wlr_surface *surface) {
struct wlr_subsurface *subsurface; 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); view_subsurface_create(view, subsurface);
} }
} }