mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 05:45:59 +01:00
stick a newline at the end of socket2 events
This commit is contained in:
parent
ba7e3cd9a1
commit
ad7e66adaa
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ void CEventManager::startThread() {
|
||||||
|
|
||||||
// write all queued events
|
// write all queued events
|
||||||
for (auto& ev : m_dQueuedEvents) {
|
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) {
|
for (auto& fd : m_dAcceptedSocketFDs) {
|
||||||
write(fd, eventString.c_str(), eventString.length());
|
write(fd, eventString.c_str(), eventString.length());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue