diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-25 00:42:51 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-25 00:42:51 +1000 |
| commit | 883ff630d913dfe02d180a5f43f5e30e4bc0dab0 (patch) | |
| tree | c563809c89f2f863e5d7831793fa70c9c267fd80 /plugin/src | |
| parent | plugin/hypr: add more helpers (diff) | |
| download | caelestia-shell-883ff630d913dfe02d180a5f43f5e30e4bc0dab0.tar.gz caelestia-shell-883ff630d913dfe02d180a5f43f5e30e4bc0dab0.tar.bz2 caelestia-shell-883ff630d913dfe02d180a5f43f5e30e4bc0dab0.zip | |
plugin/hypr: fix event socket
Diffstat (limited to 'plugin/src')
| -rw-r--r-- | plugin/src/Caelestia/Internal/hyprextras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/src/Caelestia/Internal/hyprextras.cpp b/plugin/src/Caelestia/Internal/hyprextras.cpp index 0504d70..5925918 100644 --- a/plugin/src/Caelestia/Internal/hyprextras.cpp +++ b/plugin/src/Caelestia/Internal/hyprextras.cpp @@ -32,14 +32,14 @@ HyprExtras::HyprExtras(QObject* parent) } m_requestSocket = hyprDir + "/.socket.sock"; - m_eventSocket = hyprDir + "/.event.sock"; + m_eventSocket = hyprDir + "/.socket2.sock"; refreshOptions(); refreshDevices(); m_socket = new QLocalSocket(this); QObject::connect(m_socket, &QLocalSocket::readyRead, this, &HyprExtras::readEvent); - m_socket->connectToServer(m_eventSocket); + m_socket->connectToServer(m_eventSocket, QLocalSocket::ReadOnly); } QVariantHash HyprExtras::options() const { |