mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 16:05:58 +01:00
surfacetree: Revert "subsurfaceTree: assign surfaces to a CWLSurface"
This reverts commit 51b1b17fcb
.
Crash issues, fixes #4874
This commit is contained in:
parent
a31433c215
commit
097f561e41
2 changed files with 0 additions and 2 deletions
|
@ -145,7 +145,6 @@ 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,7 +36,6 @@ struct SSurfaceTreeNode {
|
|||
|
||||
struct SSubsurface {
|
||||
wlr_subsurface* pSubsurface = nullptr;
|
||||
CWLSurface surface;
|
||||
|
||||
SSurfaceTreeNode* pParent = nullptr;
|
||||
SSurfaceTreeNode* pChild = nullptr;
|
||||
|
|
Loading…
Reference in a new issue