diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-09 22:49:07 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-09 22:49:07 +0200 |
| commit | c8c9a966b4e407b52ea9e310e7e60fb9ea6df00f (patch) | |
| tree | 4277da51c4612096b42bdc2dce38b258919fe888 /src/hyprerror/HyprError.cpp | |
| parent | 787c82212dc9e2d5908bcd4fd85e227d2b0ff85e (diff) | |
fixes for exec-once and hyprerror
Diffstat (limited to 'src/hyprerror/HyprError.cpp')
| -rw-r--r-- | src/hyprerror/HyprError.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
