From 374491ee63807147a8333ee415428303f99aa466 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 4 Apr 2022 19:44:25 +0200 Subject: progress --- src/debug/HyprCtl.cpp | 13 ------------- src/debug/HyprCtl.hpp | 1 + 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'src/debug') diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 3a19fd19..c9ab5e30 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -12,19 +12,6 @@ #include -std::string getFormat(const char* fmt, ...) { - char buf[2048] = ""; - - va_list args; - va_start(args, fmt); - - vsprintf(buf, fmt , args); - - va_end(args); - - return std::string(buf); -} - std::string monitorsRequest() { std::string result = ""; for (auto& m : g_pCompositor->m_lMonitors) { diff --git a/src/debug/HyprCtl.hpp b/src/debug/HyprCtl.hpp index 1a8851c7..1efe468f 100644 --- a/src/debug/HyprCtl.hpp +++ b/src/debug/HyprCtl.hpp @@ -2,6 +2,7 @@ #include "../Compositor.hpp" #include +#include "../helpers/MiscFunctions.hpp" namespace HyprCtl { void startHyprCtlSocket(); -- cgit v1.2.3