summaryrefslogtreecommitdiff
path: root/src/desktop/Subsurface.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-01-29 23:16:25 +0000
committerVaxry <vaxry@vaxry.net>2025-01-29 23:16:25 +0000
commitd462cc7fa166e1e6a6f14b58a2dd1e8b92e15426 (patch)
tree303e14a351418aae5015ab51ddba199e455b1739 /src/desktop/Subsurface.cpp
parent09ec1cca51e1880dfc855c168a0dd810ff1ddcd6 (diff)
subsurface: fix invalid parent typo
fixes #9224
Diffstat (limited to 'src/desktop/Subsurface.cpp')
-rw-r--r--src/desktop/Subsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/Subsurface.cpp b/src/desktop/Subsurface.cpp
index a68cf8f3..d7a53954 100644
--- a/src/desktop/Subsurface.cpp
+++ b/src/desktop/Subsurface.cpp
@@ -143,7 +143,7 @@ void CSubsurface::onNewSubsurface(SP<CWLSubsurfaceResource> pSubsurface) {
ASSERT(PSUBSURFACE);
- PSUBSURFACE->m_pParent = PSUBSURFACE;
+ PSUBSURFACE->m_pParent = m_pSelf;
}
void CSubsurface::onMap() {