mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 13:41:59 -07:00
stick a newline at the end of socket2 events
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user