Viewporter implementaion (#585)
Implementation of the `wp_viewporter` core protocol and some bugfixes
This commit is contained in:
parent
8b5c64c8fd
commit
52c0ba544c
7 changed files with 93 additions and 54 deletions
|
|
@ -139,6 +139,9 @@ void Events::listener_newSubsurfaceNode(void* owner, void* data) {
|
|||
|
||||
PNEWSUBSURFACE->pWindowOwner = pNode->pWindowOwner;
|
||||
|
||||
if (PSUBSURFACE->mapped)
|
||||
listener_mapSubsurface(PNEWSUBSURFACE, nullptr);
|
||||
|
||||
wlr_subsurface* existingWlrSubsurface;
|
||||
wl_list_for_each(existingWlrSubsurface, &PSUBSURFACE->surface->current.subsurfaces_below, current.link) {
|
||||
listener_newSubsurfaceNode(pNode, existingWlrSubsurface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue