mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-01-01 20:22:24 +03:00
fix up hyprctl dispatch
This commit is contained in:
parent
359df96d53
commit
fb0e81c18e
@ -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 New Issue
Block a user