From 927da86e3e76a8465c8b45fd7a87a34f25401b37 Mon Sep 17 00:00:00 2001 From: ComycSans <47605753+ComycSans@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:16:00 +0100 Subject: [PATCH] hyprctl: fix dispatchBatch() treating empty curitem as last request (#4681) --- src/debug/HyprCtl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 734791ab..de2aaeb8 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -962,7 +962,7 @@ std::string dispatchBatch(eHyprCtlOutputFormat format, std::string request) { nextItem(); - while (curitem != "") { + while (curitem != "" || request != "") { reply += g_pHyprCtl->getReply(curitem); nextItem();