refactor: disable battery timer stop on inotify event for now
This commit is contained in:
parent
315e2defde
commit
7222668326
|
@ -57,7 +57,8 @@ void waybar::modules::Battery::worker()
|
||||||
if (nbytes != sizeof(event)) {
|
if (nbytes != sizeof(event)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
threadTimer_.stop();
|
// TODO: don't stop timer for now since there is some bugs :?
|
||||||
|
// threadTimer_.stop();
|
||||||
dp.emit();
|
dp.emit();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue