mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
xdg: fix subsurface damage bug
Create struct view_child for each wlr_surface subsurface on first view map. Firefox doesn't damage properly without this.
This commit is contained in:
parent
2f5a44d34d
commit
985ffd3691
1 changed files with 6 additions and 0 deletions
|
|
@ -264,6 +264,12 @@ xdg_toplevel_view_map(struct view *view)
|
|||
}
|
||||
update_padding(view);
|
||||
position_xdg_toplevel_view(view);
|
||||
|
||||
struct wlr_subsurface *subsurface;
|
||||
wl_list_for_each(subsurface, &view->surface->subsurfaces,
|
||||
parent_link) {
|
||||
subsurface_create(view, subsurface);
|
||||
}
|
||||
}
|
||||
view->been_mapped = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue