mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
xdg: chase swaywm/wlroots@9e58301df7
src/xdg.c:269:48: error: no member named 'subsurfaces' in 'struct wlr_surface'
wl_list_for_each(subsurface, &view->surface->subsurfaces,
~~~~~~~~~~~~~ ^
/usr/include/wayland-util.h:443:30: note: expanded from macro 'wl_list_for_each'
for (pos = wl_container_of((head)->next, pos, member); \
^~~~
/usr/include/wayland-util.h:409:32: note: expanded from macro 'wl_container_of'
(__typeof__(sample))((char *)(ptr) - \
^~~
Based on 3162766eef
This commit is contained in:
parent
0811c0c37d
commit
874cc9e637
1 changed files with 5 additions and 1 deletions
|
|
@ -266,7 +266,11 @@ xdg_toplevel_view_map(struct view *view)
|
||||||
position_xdg_toplevel_view(view);
|
position_xdg_toplevel_view(view);
|
||||||
|
|
||||||
struct wlr_subsurface *subsurface;
|
struct wlr_subsurface *subsurface;
|
||||||
wl_list_for_each(subsurface, &view->surface->subsurfaces,
|
wl_list_for_each(subsurface, &view->surface->subsurfaces_below,
|
||||||
|
parent_link) {
|
||||||
|
subsurface_create(view, subsurface);
|
||||||
|
}
|
||||||
|
wl_list_for_each(subsurface, &view->surface->subsurfaces_above,
|
||||||
parent_link) {
|
parent_link) {
|
||||||
subsurface_create(view, subsurface);
|
subsurface_create(view, subsurface);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue