mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
refactor: disable battery timer stop on inotify event for now
This commit is contained in:
@@ -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();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user