mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-30 15:18:28 +00:00
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
This commit is contained in:
@@ -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 = "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user