R> is redundant

This commit is contained in:
vaxerski
2022-03-21 18:34:49 +01:00
parent 509f0c9a8a
commit 1b50377a5a
2 changed files with 6 additions and 6 deletions

View File

@@ -97,9 +97,9 @@ void HyprCtl::startHyprCtlSocket() {
std::string request(readBuffer);
std::string reply = "";
if (request == "R>monitors") reply = monitorsRequest();
if (request == "R>workspaces") reply = workspacesRequest();
if (request == "R>clients") reply = clientsRequest();
if (request == "monitors") reply = monitorsRequest();
if (request == "workspaces") reply = workspacesRequest();
if (request == "clients") reply = clientsRequest();
write(ACCEPTEDCONNECTION, reply.c_str(), reply.length());