mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Remove wlr_surface::subsurface
This commit is contained in:
parent
b116414bd5
commit
fa84b267e0
6 changed files with 51 additions and 51 deletions
|
|
@ -459,7 +459,7 @@ void view_map(struct roots_view *view, struct wlr_surface *surface) {
|
|||
view->wlr_surface = surface;
|
||||
|
||||
struct wlr_subsurface *subsurface;
|
||||
wl_list_for_each(subsurface, &view->wlr_surface->subsurface_list,
|
||||
wl_list_for_each(subsurface, &view->wlr_surface->subsurfaces,
|
||||
parent_link) {
|
||||
subsurface_create(view, subsurface);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ static void render_view(struct roots_view *view, struct render_data *data) {
|
|||
}
|
||||
|
||||
static bool has_standalone_surface(struct roots_view *view) {
|
||||
if (!wl_list_empty(&view->wlr_surface->subsurface_list)) {
|
||||
if (!wl_list_empty(&view->wlr_surface->subsurfaces)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue