aboutsummaryrefslogtreecommitdiff
path: root/src/slider-menu-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r--src/slider-menu-item.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c
index 8186fa3..165c3d5 100644
--- a/src/slider-menu-item.c
+++ b/src/slider-menu-item.c
@@ -113,7 +113,8 @@ handle_event (DbusmenuMenuitem * mi,
*/
slider_menu_item_update_volume (SLIDER_MENU_ITEM (mi), volume_input);
- device_ensure_sink_is_unmuted (priv->a_sink);
+ if (volume_input > 0)
+ device_ensure_sink_is_unmuted (priv->a_sink);
}