aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorComycSans <[email protected]>2024-02-12 16:16:00 +0100
committerGitHub <[email protected]>2024-02-12 15:16:00 +0000
commit927da86e3e76a8465c8b45fd7a87a34f25401b37 (patch)
treea3b904e589bfc1b1f12a61f8be47e1e640a99eb4
parentcca3c6430104836bdf5c060949a13b6b80ff0219 (diff)
downloadHyprland-927da86e3e76a8465c8b45fd7a87a34f25401b37.tar.gz
Hyprland-927da86e3e76a8465c8b45fd7a87a34f25401b37.zip
hyprctl: fix dispatchBatch() treating empty curitem as last request (#4681)
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
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();