summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-08-03 22:55:02 +0200
committerVaxry <vaxry@vaxry.net>2025-08-03 22:55:02 +0200
commit1b86d35f7ebc2c613f5ef6cba89dcd8d1ceedaa4 (patch)
tree6f8787d3384d27bfd5f60acafac1dda22c7b2342
parent549f5e8dff5263530645f3aa6567f6f7a2ddad24 (diff)
popup: remove wlSurface ownership on destroy
fixes #11320
-rw-r--r--src/desktop/Popup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop/Popup.cpp b/src/desktop/Popup.cpp
index c9fab2ed..2b0fdbf8 100644
--- a/src/desktop/Popup.cpp
+++ b/src/desktop/Popup.cpp
@@ -101,6 +101,7 @@ void CPopup::onDestroy() {
m_subsurfaceHead.reset();
m_children.clear();
+ m_wlSurface.reset();
if (m_fadingOut && m_alpha->isBeingAnimated()) {
Debug::log(LOG, "popup {:x}: skipping full destroy, animating", (uintptr_t)this);