mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 17:05:59 +01:00
parent
29cdd7de1f
commit
51b1b17fcb
2 changed files with 2 additions and 0 deletions
|
@ -145,6 +145,7 @@ void Events::listener_newSubsurfaceNode(void* owner, void* data) {
|
|||
const auto PSUBSURFACE = (wlr_subsurface*)data;
|
||||
|
||||
const auto PNEWSUBSURFACE = &pNode->childSubsurfaces.emplace_back();
|
||||
PNEWSUBSURFACE->surface.assign(PSUBSURFACE->surface);
|
||||
|
||||
Debug::log(LOG, "Added a new subsurface {:x}", (uintptr_t)PSUBSURFACE);
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ struct SSurfaceTreeNode {
|
|||
|
||||
struct SSubsurface {
|
||||
wlr_subsurface* pSubsurface = nullptr;
|
||||
CWLSurface surface;
|
||||
|
||||
SSurfaceTreeNode* pParent = nullptr;
|
||||
SSurfaceTreeNode* pChild = nullptr;
|
||||
|
|
Loading…
Reference in a new issue