mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-15 12:03:48 -07:00
hyprctl: fix dispatchBatch() treating empty curitem as last request (#4681)
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user