From 7de60c339a2e7e9a85618081e06d6eff66810377 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Thu, 18 Feb 2010 14:30:43 +0000 Subject: Dont listen to key events once the state is muted --- src/pulse-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulse-manager.c') diff --git a/src/pulse-manager.c b/src/pulse-manager.c index 52f9cba..9b9d7cd 100644 --- a/src/pulse-manager.c +++ b/src/pulse-manager.c @@ -342,7 +342,7 @@ static void update_sink_info(pa_context *c, const pa_sink_info *info, int eol, v if(DEFAULT_SINK_INDEX == s->index) { //update the UI - if (volume_changed == TRUE) + if (volume_changed == TRUE && s->mute == FALSE) { pa_volume_t vol = pa_cvolume_avg(&s->volume); gdouble volume_percent = ((gdouble) vol * 100) / PA_VOLUME_NORM; -- cgit v1.2.3