Merge pull request #372 from bazuin-32/main

Fix error when running `hyprctl dispatch exec` with an arg that contains a `/`
This commit is contained in:
Vaxry 2022-07-14 19:33:21 +02:00 committed by GitHub
commit 316589406f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,7 +159,7 @@ void dispatchRequest(int argc, char** argv) {
return; return;
} }
std::string rq = "dispatch " + std::string(argv[2]) + " " + std::string(argv[3]); std::string rq = "/dispatch " + std::string(argv[2]) + " " + std::string(argv[3]);
request(rq); request(rq);
} }