summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/HyprCtl.hpp')
-rw-r--r--src/debug/HyprCtl.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/debug/HyprCtl.hpp b/src/debug/HyprCtl.hpp
index b717f50f..0dd4f741 100644
--- a/src/debug/HyprCtl.hpp
+++ b/src/debug/HyprCtl.hpp
@@ -6,7 +6,6 @@
namespace HyprCtl {
void startHyprCtlSocket();
- void tickHyprCtl();
// very simple thread-safe request method
inline bool requestMade = false;
@@ -15,7 +14,9 @@ namespace HyprCtl {
inline std::ifstream requestStream;
- inline std::thread tThread;
+ inline wl_event_source* hyprCtlTickSource = nullptr;
+
+ inline int iSocketFD = -1;
enum eHyprCtlOutputFormat {
FORMAT_NORMAL = 0,