]> git.mdlowis.com Git - proto/labwc.git/commitdiff
xdg: updates from wlroots master
authorgituser <nore@nop.np>
Sun, 12 Sep 2021 10:11:32 +0000 (12:11 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 12 Sep 2021 12:28:44 +0000 (13:28 +0100)
src/xdg.c

index 71a4df4457221bfe57cee929dc7d67ef5283d095..59a6f553d4e0d6b631455424159f93eced035f3f 100644 (file)
--- a/src/xdg.c
+++ b/src/xdg.c
@@ -309,12 +309,12 @@ xdg_toplevel_view_map(struct view *view)
                position_xdg_toplevel_view(view);
 
                struct wlr_subsurface *subsurface;
-               wl_list_for_each(subsurface, &view->surface->subsurfaces_below,
-                                parent_link) {
+               wl_list_for_each(subsurface, &view->surface->current.subsurfaces_below,
+                                current.link) {
                        subsurface_create(view, subsurface);
                }
-               wl_list_for_each(subsurface, &view->surface->subsurfaces_above,
-                                parent_link) {
+               wl_list_for_each(subsurface, &view->surface->current.subsurfaces_above,
+                                current.link) {
                        subsurface_create(view, subsurface);
                }