Fix build for systems without SIGRTMIN/SIGRTMAX

This commit is contained in:
Volker Schlecht
2026-04-17 19:33:27 +02:00
committed by GitHub
parent bd39795f80
commit 729dbbb82e
+2
View File
@@ -46,9 +46,11 @@ void waybar::modules::Image::delayWorker() {
}
void waybar::modules::Image::refresh(int sig) {
#ifdef SIGRTMIN
if (config_["signal"].isInt() && sig == SIGRTMIN + config_["signal"].asInt()) {
thread_.wake_up();
}
#endif
}
auto waybar::modules::Image::update() -> void {