mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:45:58 +01:00
fix backwards hyprctl compat
This commit is contained in:
parent
7c999fb9f5
commit
65e75c0b44
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ std::string getReply(std::string request) {
|
|||
auto format = HyprCtl::FORMAT_NORMAL;
|
||||
|
||||
// process flags for non-batch requests
|
||||
if (!(request.find("[[BATCH]]") == 0)) {
|
||||
if (!request.contains("[[BATCH]]") && request.contains("/")) {
|
||||
long unsigned int sepIndex = 0;
|
||||
for (const auto& c : request) {
|
||||
if (c == '/') { // stop at separator
|
||||
|
|
Loading…
Reference in a new issue