Skip to content

Commit 759602a

Browse files
authoredJul 18, 2020
Update mpd.cpp
1 parent 273c2f3 commit 759602a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/modules/mpd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ bool waybar::modules::MPD::handlePlayPause(GdkEventButton* const& e) {
352352
}
353353
354354
bool waybar::modules::MPD::stopped() {
355-
return connection_ == nullptr || state_ == MPD_STATE_UNKNOWN || state_ == MPD_STATE_STOP;
355+
return connection_ == nullptr || state_ == MPD_STATE_UNKNOWN || state_ == MPD_STATE_STOP || status_ == nullptr;
356356
}
357357
358358
bool waybar::modules::MPD::playing() { return connection_ != nullptr && state_ == MPD_STATE_PLAY; }

0 commit comments

Comments
 (0)