summaryrefslogtreecommitdiff
path: root/displayvolume.c
diff options
context:
space:
mode:
Diffstat (limited to 'displayvolume.c')
-rw-r--r--displayvolume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/displayvolume.c b/displayvolume.c
index 5bbca51..03dc4eb 100644
--- a/displayvolume.c
+++ b/displayvolume.c
@@ -141,9 +141,9 @@ void cNopacityDisplayVolume::Action(void) {
pixmapBackgroundBottom->SetAlpha(Alpha);
pixmapProgressBar->SetAlpha(Alpha);
pixmapLabel->SetAlpha(Alpha);
+ cPixmap::Unlock();
if (Running())
osd->Flush();
- cPixmap::Unlock();
int Delta = cTimeMs::Now() - Now;
if (Running() && (Delta < FrameTime))
cCondWait::SleepMs(FrameTime - Delta);