summaryrefslogtreecommitdiff
path: root/src/client/qwaylandsubsurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandsubsurface.cpp')
-rw-r--r--src/client/qwaylandsubsurface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandsubsurface.cpp b/src/client/qwaylandsubsurface.cpp
index ec813609..254c0766 100644
--- a/src/client/qwaylandsubsurface.cpp
+++ b/src/client/qwaylandsubsurface.cpp
@@ -53,6 +53,7 @@ QWaylandSubSurface::QWaylandSubSurface(QWaylandWindow *window, QWaylandWindow *p
QWaylandSubSurface::~QWaylandSubSurface()
{
m_parent->mChildren.removeOne(this);
+ destroy();
}
}