mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 11:45:58 +01:00
fix up hyprctl dispatch
This commit is contained in:
parent
359df96d53
commit
fb0e81c18e
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue