hyprctl: fix dispatchBatch() treating empty curitem as last request (#4681)

This commit is contained in:
ComycSans 2024-02-12 16:16:00 +01:00 committed by GitHub
parent cca3c64301
commit 927da86e3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -962,7 +962,7 @@ std::string dispatchBatch(eHyprCtlOutputFormat format, std::string request) {
nextItem(); nextItem();
while (curitem != "") { while (curitem != "" || request != "") {
reply += g_pHyprCtl->getReply(curitem); reply += g_pHyprCtl->getReply(curitem);
nextItem(); nextItem();