summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-10 21:21:28 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-10 21:21:28 +0200
commit82aa78916ddfcd2d23720083bd7cea2502a0feca (patch)
tree03c7ed1c530a0909c916575bf0a351196a4f1704 /src/debug/HyprCtl.hpp
parentf024d7114fe08f505ec9af40ee8cd471fbb6c09b (diff)
hyprctl-nopoll
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,