Draw HyprError on the last monitor

This commit is contained in:
vaxerski 2023-02-28 19:18:13 +00:00
parent 4d3f2ca96b
commit 7beb9fd606
3 changed files with 29 additions and 11 deletions

View file

@ -24,6 +24,8 @@ class CHyprError {
CTexture m_tTexture;
CAnimatedVariable m_fFadeOpacity;
wlr_box m_bDamageBox = {0, 0, 0, 0};
bool m_bMonitorChanged = false;
};
inline std::unique_ptr<CHyprError> g_pHyprError; // This is a full-screen error. Treat it with respect, and there can only be one at a time.