core: fixup number of pollfds in poll thread

This commit is contained in:
Vaxry 2024-02-20 03:01:58 +00:00
parent 868e85e362
commit 98606beaad
1 changed files with 1 additions and 1 deletions

View File

@ -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;