mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 20:25:59 +01:00
hyprctl: fix dispatchBatch() treating empty curitem as last request (#4681)
This commit is contained in:
parent
cca3c64301
commit
927da86e3e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue