diff options
Diffstat (limited to 'plugin/src/Caelestia/Internal/hyprextras.hpp')
| -rw-r--r-- | plugin/src/Caelestia/Internal/hyprextras.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/src/Caelestia/Internal/hyprextras.hpp b/plugin/src/Caelestia/Internal/hyprextras.hpp index f1863ed..9f9e1ad 100644 --- a/plugin/src/Caelestia/Internal/hyprextras.hpp +++ b/plugin/src/Caelestia/Internal/hyprextras.hpp @@ -36,6 +36,7 @@ private: QString m_requestSocket; QString m_eventSocket; QLocalSocket* m_socket; + bool m_socketValid; QVariantHash m_options; HyprDevices* const m_devices; @@ -43,6 +44,8 @@ private: SocketPtr m_optionsRefresh; SocketPtr m_devicesRefresh; + void socketError(QLocalSocket::LocalSocketError error) const; + void socketStateChanged(QLocalSocket::LocalSocketState state); void readEvent(); void handleEvent(const QString& event); |