mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 18:05: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") {
|
||||
if (isFirstLaunch) {
|
||||
handleRawExec(COMMAND, VALUE);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
} else if (COMMAND == "monitor") {
|
||||
handleMonitor(COMMAND, VALUE);
|
||||
return;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue