summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.cpp
diff options
context:
space:
mode:
authoroutfoxxed <outfoxxed@outfoxxed.me>2023-05-01 07:10:53 -0700
committerGitHub <noreply@github.com>2023-05-01 15:10:53 +0100
commit3a631e40db78f98ab82bb600d7cf9d7428bc2b02 (patch)
tree9d43696e1fcd6ed24110513c67a600c001638558 /src/hyprerror/HyprError.cpp
parentdc469dc4c18732b534c3d9f46678a6e53379abd6 (diff)
Declarative plugin management (#2180)
* Declarative plugin management Allow declaring `plugin` entries in the hyprland configuration. Plugins will be loaded if an entry is added and unloaded if that entry is removed. * Replace pointers with copying in updateconfigPlugins * Include which plugin was declared twice in error
Diffstat (limited to 'src/hyprerror/HyprError.cpp')
-rw-r--r--src/hyprerror/HyprError.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp
index ca0776ea..b72f0589 100644
--- a/src/hyprerror/HyprError.cpp
+++ b/src/hyprerror/HyprError.cpp
@@ -33,7 +33,6 @@ void CHyprError::queueCreate(std::string message, const CColor& color) {
void CHyprError::createQueued() {
if (m_bIsCreated) {
- m_bQueuedDestroy = false;
m_tTexture.destroyTexture();
}
@@ -171,4 +170,6 @@ void CHyprError::draw() {
void CHyprError::destroy() {
if (m_bIsCreated)
m_bQueuedDestroy = true;
+ else
+ m_szQueued = "";
}