diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-02-28 17:53:17 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-02-28 17:53:17 +0000 |
| commit | 51b1b17fcbb6c13667710a6bebac1003a5231bd2 (patch) | |
| tree | 2b4d62b7d7f9f48d849e73c210c7a3ba304b5a1e /src/helpers/SubsurfaceTree.cpp | |
| parent | 29cdd7de1f8d99462915540569fbe54f10f609f4 (diff) | |
subsurfaceTree: assign surfaces to a CWLSurface
fixes #4872
Diffstat (limited to 'src/helpers/SubsurfaceTree.cpp')
| -rw-r--r-- | src/helpers/SubsurfaceTree.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/SubsurfaceTree.cpp b/src/helpers/SubsurfaceTree.cpp index b4ea6d85..9f53e8ad 100644 --- a/src/helpers/SubsurfaceTree.cpp +++ b/src/helpers/SubsurfaceTree.cpp @@ -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); |
