mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-11-16 22:25:59 +01:00
reset parse error for socket
This commit is contained in:
parent
b507e2f030
commit
00334f34fc
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ void CIPCSocket::mainThreadParseRequest() {
|
|||
|
||||
// parse
|
||||
if (copy.find("wallpaper") == 0 || copy.find("preload") == 0) {
|
||||
g_pConfigManager->parseError = ""; // reset parse error
|
||||
|
||||
g_pConfigManager->parseKeyword(copy.substr(0, copy.find_first_of(' ')), copy.substr(copy.find_first_of(' ') + 1));
|
||||
|
||||
if (g_pConfigManager->parseError != "") {
|
||||
|
|
Loading…
Reference in a new issue