diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-04 19:44:25 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-04 19:44:25 +0200 |
| commit | 374491ee63807147a8333ee415428303f99aa466 (patch) | |
| tree | 6d077d095a65559d25e6584ff343aab906d9b0f7 /src/debug | |
| parent | d15cda7e4141eb73838cf0e5452c24d427028273 (diff) | |
progress
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 13 | ||||
| -rw-r--r-- | src/debug/HyprCtl.hpp | 1 |
2 files changed, 1 insertions, 13 deletions
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 <string> -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 <fstream> +#include "../helpers/MiscFunctions.hpp" namespace HyprCtl { void startHyprCtlSocket(); |
