summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-28 23:43:11 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-28 23:43:11 +0200
commit894ae2d74217f4c37653022d855d00fd46c39457 (patch)
tree443af7c7b6ff0909e691cba39d7b8577d1900381 /src/Window.hpp
parent08e0567d3ae348f950aacbb734ead61b0d8eebe1 (diff)
Use C++-styled pointers for decorations
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index 0dd105bb..8977c7ff 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -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;