From 14a7fb779f47f7afbedae1f79e06e0d777de6e40 Mon Sep 17 00:00:00 2001 From: Wonguk Jeong Date: Tue, 29 Jul 2014 05:30:03 +0200 Subject: [PATCH] mute audio to all terms Audio mute is currently global setting (it will be synced, if user changed option). Therfore, apply mute to all terms not only to focused term. --- src/bin/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/main.c b/src/bin/main.c index 28fb230b..fd0fcc90 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -1887,12 +1887,11 @@ main_media_mute_update(const Config *config) Win *wn; Term *term; Eina_List *l, *ll; - - EINA_LIST_FOREACH(wins, l, wn) + + EINA_LIST_FOREACH(wins, l, wn) { EINA_LIST_FOREACH(wn->terms, ll, term) { - if (term->config != config) continue; if (term->media) media_mute_set(term->media, config->mute); termio_media_mute_set(term->term, config->mute); }