summaryrefslogtreecommitdiff
path: root/src/debug/HyprNotificationOverlay.hpp
diff options
context:
space:
mode:
authorFUFSoB <32937947+FUFSoB@users.noreply.github.com>2024-04-16 01:47:39 +0500
committerGitHub <noreply@github.com>2024-04-15 21:47:39 +0100
commitc99803af157c4715e3a9a4477c64e12cb4749833 (patch)
tree2ecd5766098f3cc3f1803813775ae0331a36c0b8 /src/debug/HyprNotificationOverlay.hpp
parent02cbf049d2fbecfe64fc80e0ce388a6ac240bcb6 (diff)
notifications: fix notifications on manually rotated monitor (#5599)
Diffstat (limited to 'src/debug/HyprNotificationOverlay.hpp')
-rw-r--r--src/debug/HyprNotificationOverlay.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug/HyprNotificationOverlay.hpp b/src/debug/HyprNotificationOverlay.hpp
index 5599b71b..25934734 100644
--- a/src/debug/HyprNotificationOverlay.hpp
+++ b/src/debug/HyprNotificationOverlay.hpp
@@ -55,6 +55,7 @@ class CHyprNotificationOverlay {
cairo_t* m_pCairo = nullptr;
CMonitor* m_pLastMonitor = nullptr;
+ Vector2D m_vecLastSize = Vector2D(-1, -1);
CTexture m_tTexture;
@@ -62,4 +63,4 @@ class CHyprNotificationOverlay {
std::string m_szIconFontName = "Sans";
};
-inline std::unique_ptr<CHyprNotificationOverlay> g_pHyprNotificationOverlay; \ No newline at end of file
+inline std::unique_ptr<CHyprNotificationOverlay> g_pHyprNotificationOverlay;