diff options
| author | underengineering <103371090+underengineering@users.noreply.github.com> | 2024-05-10 14:32:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-10 12:32:50 +0100 |
| commit | 37a84c5223279ce16152db69fba204df365c4eda (patch) | |
| tree | 7eca797538998e0dcbcb0821deba9e23b100fbfb /src/Compositor.cpp | |
| parent | c19903eaf8f3908e864e57c8449325e9b5e0c9bd (diff) | |
socket2: fix events being reordered (#5955)
* socket2: fix events being reordered
* remove WL_EVENT_READABLE
* initialize eventSource in SClient
* add more logs
oopsie
* replace unordered_map with vector
* fix reordering when socket becomes writable before queue is flushed
* ignore EAGAIN when accepting connection
* use g_pEventManager
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index bed2b203..9a9ea30b 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -338,9 +338,6 @@ void CCompositor::cleanup() { m_pLastFocus = nullptr; m_pLastWindow.reset(); - // end threads - g_pEventManager->m_tThread = std::thread(); - m_vWorkspaces.clear(); m_vWindows.clear(); @@ -463,7 +460,6 @@ void CCompositor::initManagers(eManagersInitStage stage) { Debug::log(LOG, "Creating the EventManager!"); g_pEventManager = std::make_unique<CEventManager>(); - g_pEventManager->startThread(); Debug::log(LOG, "Creating the HyprDebugOverlay!"); g_pDebugOverlay = std::make_unique<CHyprDebugOverlay>(); |
