diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-22 19:16:35 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-22 19:16:35 +0200 |
| commit | fb0e81c18ee58a92dc109d6023677463d859523e (patch) | |
| tree | 5142d49d01357a058c247b2e93091019664eb905 /hyprctl/main.cpp | |
| parent | 359df96d53a835fc1156cc040190186cd7931ccd (diff) | |
fix up hyprctl dispatch
Diffstat (limited to 'hyprctl/main.cpp')
| -rw-r--r-- | hyprctl/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index 820e9fe9..345c2c74 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -152,7 +152,10 @@ void dispatchRequest(int argc, char** argv) { return; } - std::string rq = "/dispatch " + std::string(argv[2]) + " " + std::string(argv[3]); + std::string rq = "/dispatch"; + + for(int i = 2; i < argc; i++) + rq += " " + std::string(argv[i]); request(rq); } |
