mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 10:05:59 +01:00
eventloop: don't dispatch in enterLoop
ref #6842, BSD blocks in udev on no event apparently
This commit is contained in:
parent
8b37e81374
commit
4fdc0d55e4
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue