diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2024-04-27 12:43:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-27 12:43:12 +0100 |
| commit | bca7804bb6e1bf5ce5a99b9ae4806be25e36993c (patch) | |
| tree | ebd3a578de1dfe11b54f9440cfc3a408ffa6a620 /src/desktop/Popup.hpp | |
| parent | 25aec3ac8ce65ed224f025f8f6dfef73780577a4 (diff) | |
internal: Window storage rework - part 1 (#5762)
* Window storage rework - part 1
* format
* remove useless include
* fix pch
* format
* fix crash in dwindle
* fix vram leak
* prefer .expired() for bool checks
Diffstat (limited to 'src/desktop/Popup.hpp')
| -rw-r--r-- | src/desktop/Popup.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop/Popup.hpp b/src/desktop/Popup.hpp index 5f7af085..26e4bda5 100644 --- a/src/desktop/Popup.hpp +++ b/src/desktop/Popup.hpp @@ -9,7 +9,7 @@ struct SLayerSurface; class CPopup { public: // dummy head nodes - CPopup(CWindow* pOwner); + CPopup(PHLWINDOW pOwner); CPopup(SLayerSurface* pOwner); // real nodes @@ -35,8 +35,8 @@ class CPopup { private: // T1 owners, each popup has to have one of these - CWindow* m_pWindowOwner = nullptr; - SLayerSurface* m_pLayerOwner = nullptr; + PHLWINDOWREF m_pWindowOwner; + SLayerSurface* m_pLayerOwner = nullptr; // T2 owners CPopup* m_pParent = nullptr; |
