mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 06:01:56 -07:00
fix backwards hyprctl compat
This commit is contained in:
@@ -518,7 +518,7 @@ std::string getReply(std::string request) {
|
|||||||
auto format = HyprCtl::FORMAT_NORMAL;
|
auto format = HyprCtl::FORMAT_NORMAL;
|
||||||
|
|
||||||
// process flags for non-batch requests
|
// process flags for non-batch requests
|
||||||
if (!(request.find("[[BATCH]]") == 0)) {
|
if (!request.contains("[[BATCH]]") && request.contains("/")) {
|
||||||
long unsigned int sepIndex = 0;
|
long unsigned int sepIndex = 0;
|
||||||
for (const auto& c : request) {
|
for (const auto& c : request) {
|
||||||
if (c == '/') { // stop at separator
|
if (c == '/') { // stop at separator
|
||||||
|
Reference in New Issue
Block a user