mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:05:59 +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 PSUBSURFACE = (wlr_subsurface*)data;
|
||||||
|
|
||||||
const auto PNEWSUBSURFACE = &pNode->childSubsurfaces.emplace_back();
|
const auto PNEWSUBSURFACE = &pNode->childSubsurfaces.emplace_back();
|
||||||
PNEWSUBSURFACE->surface.assign(PSUBSURFACE->surface);
|
|
||||||
|
|
||||||
Debug::log(LOG, "Added a new subsurface {:x}", (uintptr_t)PSUBSURFACE);
|
Debug::log(LOG, "Added a new subsurface {:x}", (uintptr_t)PSUBSURFACE);
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ struct SSurfaceTreeNode {
|
||||||
|
|
||||||
struct SSubsurface {
|
struct SSubsurface {
|
||||||
wlr_subsurface* pSubsurface = nullptr;
|
wlr_subsurface* pSubsurface = nullptr;
|
||||||
CWLSurface surface;
|
|
||||||
|
|
||||||
SSurfaceTreeNode* pParent = nullptr;
|
SSurfaceTreeNode* pParent = nullptr;
|
||||||
SSurfaceTreeNode* pChild = nullptr;
|
SSurfaceTreeNode* pChild = nullptr;
|
||||||
|
|
Loading…
Reference in a new issue