diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-12-16 15:58:19 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-12-16 15:58:19 +0000 |
| commit | a5234f26e4b7146ae7c2df25950f0177534cd643 (patch) | |
| tree | be319115cca2eb369791fad1822bdda0e0f358e9 /src/debug/HyprNotificationOverlay.hpp | |
| parent | de3ad245dcbcd42c88e9afc48264bdb8f2356c15 (diff) | |
core: drop using deques in favor of vectors
No point in most of these.
Diffstat (limited to 'src/debug/HyprNotificationOverlay.hpp')
| -rw-r--r-- | src/debug/HyprNotificationOverlay.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/debug/HyprNotificationOverlay.hpp b/src/debug/HyprNotificationOverlay.hpp index 5e88ebc0..3ff0b35c 100644 --- a/src/debug/HyprNotificationOverlay.hpp +++ b/src/debug/HyprNotificationOverlay.hpp @@ -6,7 +6,7 @@ #include "../render/Texture.hpp" #include "../SharedDefs.hpp" -#include <deque> +#include <vector> #include <cairo/cairo.h> @@ -47,18 +47,18 @@ class CHyprNotificationOverlay { bool hasAny(); private: - CBox drawNotifications(PHLMONITOR pMonitor); - CBox m_bLastDamage; + CBox drawNotifications(PHLMONITOR pMonitor); + CBox m_bLastDamage; - std::deque<std::unique_ptr<SNotification>> m_dNotifications; + std::vector<std::unique_ptr<SNotification>> m_vNotifications; - cairo_surface_t* m_pCairoSurface = nullptr; - cairo_t* m_pCairo = nullptr; + cairo_surface_t* m_pCairoSurface = nullptr; + cairo_t* m_pCairo = nullptr; - PHLMONITORREF m_pLastMonitor; - Vector2D m_vecLastSize = Vector2D(-1, -1); + PHLMONITORREF m_pLastMonitor; + Vector2D m_vecLastSize = Vector2D(-1, -1); - SP<CTexture> m_pTexture; + SP<CTexture> m_pTexture; }; inline std::unique_ptr<CHyprNotificationOverlay> g_pHyprNotificationOverlay; |
