mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-10 00:51:58 -07:00
R> is redundant
This commit is contained in:
@@ -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());
|
||||
|
||||
|
Reference in New Issue
Block a user