summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp13
-rw-r--r--src/debug/HyprCtl.hpp1
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();