notifications: fix notifications on manually rotated monitor (#5599)

This commit is contained in:
FUFSoB
2024-04-16 01:47:39 +05:00
committed by GitHub
parent 02cbf049d2
commit c99803af15
2 changed files with 11 additions and 7 deletions

View File

@@ -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;
inline std::unique_ptr<CHyprNotificationOverlay> g_pHyprNotificationOverlay;