notifications: fix notifications on manually rotated monitor (#5599)
This commit is contained in:
parent
02cbf049d2
commit
c99803af15
2 changed files with 11 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue