diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-18 22:35:51 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-18 22:35:51 +0100 |
| commit | a1a8f3b6d579d5df3a46dff92a221b7ad48f3e84 (patch) | |
| tree | 6aa449e3e7fbd706ec0903e629dd64b211890cdb /src/Compositor.hpp | |
| parent | 00098aef4f55eb53763e663bf470c7359da302a1 (diff) | |
change to lists, titles etc
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index c46aae11..5cf039aa 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -2,6 +2,7 @@ #include <memory> #include <deque> +#include <list> #include "defines.hpp" #include "debug/Log.hpp" @@ -44,8 +45,8 @@ public: const char* m_szWLDisplaySocket; - std::deque<SMonitor> m_vMonitors; - std::deque<CWindow> m_vWindows; + std::list<SMonitor> m_lMonitors; + std::list<CWindow> m_lWindows; void startCompositor(); @@ -54,6 +55,7 @@ public: SMonitor* getMonitorFromID(const int&); SMonitor* getMonitorFromCursor(); + void removeWindowFromVectorSafe(CWindow*); }; |
