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.
devs/discomfitor/cc
Wonguk Jeong 9 years ago
parent 7efef95b14
commit 14a7fb779f
  1. 5
      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);
}

Loading…
Cancel
Save