From 131dc244e67e3b6e9304e7076c397c761860044c Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 10 Mar 2025 18:36:00 +0800 Subject: fix(registerName): no longer allow same name the previous behaviour was it wouldn't broadcast the message to the same name debug: more logging, maybe we should disable TRACE by default in the future? WIP: partial impl of signal handling(SIGINT(keyboardinterrupt) etc) --- src/session.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/session.hpp') diff --git a/src/session.hpp b/src/session.hpp index d81faf8..d32fd96 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -36,7 +36,7 @@ class CSession { Hyprutils::OS::CFileDescriptor m_sockfd; std::string m_name; void recvLoop(); - bool registerSession(); + void registerSession(); void onConnect(); void onDisconnect(); void onErrno(eEventType); -- cgit v1.2.3