summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorComycSans <47605753+ComycSans@users.noreply.github.com>2024-02-12 16:16:00 +0100
committerGitHub <noreply@github.com>2024-02-12 15:16:00 +0000
commit927da86e3e76a8465c8b45fd7a87a34f25401b37 (patch)
treea3b904e589bfc1b1f12a61f8be47e1e640a99eb4 /src/debug/HyprCtl.cpp
parentcca3c6430104836bdf5c060949a13b6b80ff0219 (diff)
hyprctl: fix dispatchBatch() treating empty curitem as last request (#4681)
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-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();