aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/debug/HyprNotificationOverlay.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/HyprNotificationOverlay.hpp')
-rw-r--r--src/debug/HyprNotificationOverlay.hpp18
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;