redraw statusbar after resize if player is stopped
This commit is contained in:
@@ -379,6 +379,8 @@ int main(int argc, char *argv[])
|
|||||||
myScreen->Refresh();
|
myScreen->Refresh();
|
||||||
RedrawStatusbar = 1;
|
RedrawStatusbar = 1;
|
||||||
StatusChanges changes;
|
StatusChanges changes;
|
||||||
|
if (Mpd->GetState() < psPlay)
|
||||||
|
changes.PlayerState = 1;
|
||||||
changes.StatusFlags = 1; // force status update
|
changes.StatusFlags = 1; // force status update
|
||||||
NcmpcppStatusChanged(Mpd, changes, NULL);
|
NcmpcppStatusChanged(Mpd, changes, NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user