We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 273c2f3 commit 759602aCopy full SHA for 759602a
src/modules/mpd.cpp
@@ -352,7 +352,7 @@ bool waybar::modules::MPD::handlePlayPause(GdkEventButton* const& e) {
352
}
353
354
bool waybar::modules::MPD::stopped() {
355
- return connection_ == nullptr || state_ == MPD_STATE_UNKNOWN || state_ == MPD_STATE_STOP;
+ return connection_ == nullptr || state_ == MPD_STATE_UNKNOWN || state_ == MPD_STATE_STOP || status_ == nullptr;
356
357
358
bool waybar::modules::MPD::playing() { return connection_ != nullptr && state_ == MPD_STATE_PLAY; }
0 commit comments