mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-12-22 13:29:48 +01:00
core: fixup number of pollfds in poll thread
This commit is contained in:
parent
868e85e362
commit
98606beaad
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ void CHyprlock::run() {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < 3; ++i) {
|
||||
for (size_t i = 0; i < 1; ++i) {
|
||||
if (pollfds[i].revents & POLLHUP) {
|
||||
Debug::log(CRIT, "[core] Disconnected from pollfd id {}", i);
|
||||
m_bTerminate = true;
|
||||
|
|
Loading…
Reference in a new issue