Merge pull request #1839 from emersion/rename-surface-subsurfaces

Update for wlroots#885
This commit is contained in:
Drew DeVault 2018-04-22 11:06:51 +02:00 committed by GitHub
commit 48c84cd1f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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