3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-02-05 07:25:35 +00:00

popup: remove wlSurface ownership on destroy

fixes #11320
This commit is contained in:
Vaxry
2025-08-03 22:55:02 +02:00
parent 549f5e8dff
commit 1b86d35f7e

View File

@ -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);