mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-09-11 19:07:40 +03:00
reset parse error for socket
This commit is contained in:
parent
b507e2f030
commit
00334f34fc
@ -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 New Issue
Block a user