aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-24 19:47:13 +0200
committervaxerski <[email protected]>2022-05-24 19:47:13 +0200
commitad7e66adaabb14b3c9e5287c95bcff6cbc1472a1 (patch)
treeede13f2635b5e87d5ef08a908b77e731eff06cf7
parentba7e3cd9a18d6c74bc1f3819ec7485e25daf3472 (diff)
downloadHyprland-ad7e66adaabb14b3c9e5287c95bcff6cbc1472a1.tar.gz
Hyprland-ad7e66adaabb14b3c9e5287c95bcff6cbc1472a1.zip
stick a newline at the end of socket2 events
-rw-r--r--src/managers/EventManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/EventManager.cpp b/src/managers/EventManager.cpp
index b4a697ed..cd6cabba 100644
--- a/src/managers/EventManager.cpp
+++ b/src/managers/EventManager.cpp
@@ -92,7 +92,7 @@ void CEventManager::startThread() {
// write all queued events
for (auto& ev : m_dQueuedEvents) {
- std::string eventString = ev.event + ">>" + ev.data;
+ std::string eventString = ev.event + ">>" + ev.data + "\n";
for (auto& fd : m_dAcceptedSocketFDs) {
write(fd, eventString.c_str(), eventString.length());
}