mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 23:25:58 +01:00
hyprerror fixes
This commit is contained in:
parent
2a368ef994
commit
15f7886777
1 changed files with 5 additions and 1 deletions
|
@ -79,6 +79,8 @@ void CHyprError::createQueued() {
|
||||||
m_bIsCreated = true;
|
m_bIsCreated = true;
|
||||||
m_szQueued = "";
|
m_szQueued = "";
|
||||||
m_cQueued = CColor();
|
m_cQueued = CColor();
|
||||||
|
|
||||||
|
g_pHyprRenderer->damageMonitor(PMONITOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHyprError::draw() {
|
void CHyprError::draw() {
|
||||||
|
@ -93,6 +95,7 @@ void CHyprError::draw() {
|
||||||
m_tTexture.destroyTexture();
|
m_tTexture.destroyTexture();
|
||||||
m_bIsCreated = false;
|
m_bIsCreated = false;
|
||||||
m_szQueued = "";
|
m_szQueued = "";
|
||||||
|
g_pHyprRenderer->damageMonitor(&g_pCompositor->m_lMonitors.front());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,5 +110,6 @@ void CHyprError::draw() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHyprError::destroy() {
|
void CHyprError::destroy() {
|
||||||
m_bQueuedDestroy = true;
|
if (m_bIsCreated)
|
||||||
|
m_bQueuedDestroy = true;
|
||||||
}
|
}
|
Loading…
Reference in a new issue