mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 20:51:58 -07:00
eventloop: don't dispatch in enterLoop
ref #6842, BSD blocks in udev on no event apparently
This commit is contained in:
@@ -48,7 +48,6 @@ void CEventLoopManager::enterLoop() {
|
|||||||
aqPollFDs = g_pCompositor->m_pAqBackend->getPollFDs();
|
aqPollFDs = g_pCompositor->m_pAqBackend->getPollFDs();
|
||||||
for (auto& fd : aqPollFDs) {
|
for (auto& fd : aqPollFDs) {
|
||||||
m_sWayland.aqEventSources.emplace_back(wl_event_loop_add_fd(m_sWayland.loop, fd->fd, WL_EVENT_READABLE, aquamarineFDWrite, fd.get()));
|
m_sWayland.aqEventSources.emplace_back(wl_event_loop_add_fd(m_sWayland.loop, fd->fd, WL_EVENT_READABLE, aquamarineFDWrite, fd.get()));
|
||||||
fd->onSignal(); // dispatch outstanding
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_display_run(m_sWayland.display);
|
wl_display_run(m_sWayland.display);
|
||||||
|
Reference in New Issue
Block a user