summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-02-01 15:08:30 +0000
committerVaxry <vaxry@vaxry.net>2025-02-01 15:08:30 +0000
commitc6f672257bd2ae98f4fd7a6a273b2d1d3e944baa (patch)
tree3b331626749173588719ac4303dd347af0820e5e /src/desktop/Window.hpp
parent5b43c106bd1cde9ac0b5626130890cde4de0b245 (diff)
desktop: move popup and subsurface ctors to factories
makes sure m_pSelf is set before we do anything like possibly adding children fixes #9275 supersedes #9276
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index ce2f8eb2..3573d7ab 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -298,7 +298,7 @@ class CWindow {
// desktop components
UP<CSubsurface> m_pSubsurfaceHead;
- UP<CPopup> m_pPopupHead;
+ SP<CPopup> m_pPopupHead;
// Animated border
CGradientValueData m_cRealBorderColor = {0};