Use C++-styled pointers for decorations
This commit is contained in:
parent
08e0567d3a
commit
894ae2d742
4 changed files with 5 additions and 10 deletions
|
|
@ -91,7 +91,7 @@ public:
|
|||
bool m_bHidden = false;
|
||||
|
||||
// Window decorations
|
||||
std::deque<IHyprWindowDecoration*> m_dWindowDecorations;
|
||||
std::deque<std::unique_ptr<IHyprWindowDecoration>> m_dWindowDecorations;
|
||||
|
||||
// Special render data, rules, etc
|
||||
SWindowSpecialRenderData m_sSpecialRenderData;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue