aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-22 11:06:51 +0200
committerGitHub <noreply@github.com>2018-04-22 11:06:51 +0200
commit48c84cd1f8175223ce5a744d6508a9f4bdbe3867 (patch)
tree0eda21864d23074c71bd66098ac055750f006cc9 /sway
parent2d5fea1e8004f46ecc8c81a3c6a06db6b6f4ff93 (diff)
parente4965f7dace96546d3802f4533ba1f145290f48c (diff)
Merge pull request #1839 from emersion/rename-surface-subsurfaces
Update for wlroots#885
Diffstat (limited to 'sway')
-rw-r--r--sway/tree/view.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}