From c8c9a966b4e407b52ea9e310e7e60fb9ea6df00f Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 9 Apr 2022 22:49:07 +0200 Subject: fixes for exec-once and hyprerror --- src/hyprerror/HyprError.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/hyprerror/HyprError.cpp') diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp index 524fce2d..a7563c9d 100644 --- a/src/hyprerror/HyprError.cpp +++ b/src/hyprerror/HyprError.cpp @@ -78,7 +78,7 @@ void CHyprError::createQueued() { } void CHyprError::draw() { - if (!m_bIsCreated) { + if (!m_bIsCreated || m_szQueued != "") { if (m_szQueued != "") createQueued(); return; @@ -88,6 +88,7 @@ void CHyprError::draw() { m_bQueuedDestroy = false; m_tTexture.destroyTexture(); m_bIsCreated = false; + m_szQueued = ""; return; } -- cgit v1.2.3