mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 14:45:59 +01:00
fixes for exec-once and hyprerror
This commit is contained in:
parent
787c82212d
commit
c8c9a966b4
2 changed files with 3 additions and 2 deletions
|
@ -262,8 +262,8 @@ void CConfigManager::parseLine(std::string& line) {
|
||||||
} else if (COMMAND == "exec-once") {
|
} else if (COMMAND == "exec-once") {
|
||||||
if (isFirstLaunch) {
|
if (isFirstLaunch) {
|
||||||
handleRawExec(COMMAND, VALUE);
|
handleRawExec(COMMAND, VALUE);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
} else if (COMMAND == "monitor") {
|
} else if (COMMAND == "monitor") {
|
||||||
handleMonitor(COMMAND, VALUE);
|
handleMonitor(COMMAND, VALUE);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -78,7 +78,7 @@ void CHyprError::createQueued() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHyprError::draw() {
|
void CHyprError::draw() {
|
||||||
if (!m_bIsCreated) {
|
if (!m_bIsCreated || m_szQueued != "") {
|
||||||
if (m_szQueued != "")
|
if (m_szQueued != "")
|
||||||
createQueued();
|
createQueued();
|
||||||
return;
|
return;
|
||||||
|
@ -88,6 +88,7 @@ void CHyprError::draw() {
|
||||||
m_bQueuedDestroy = false;
|
m_bQueuedDestroy = false;
|
||||||
m_tTexture.destroyTexture();
|
m_tTexture.destroyTexture();
|
||||||
m_bIsCreated = false;
|
m_bIsCreated = false;
|
||||||
|
m_szQueued = "";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue