aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/service.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala
index c942fc7..b07f267 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -297,7 +297,7 @@ public class IndicatorSound.Service: Object {
if (oldoutput != this.last_output_notification)
return;
/* Supress updates that don't change the value */
- if (oldvolume == this.last_volume_notification)
+ if (GLib.Math.fabs(oldvolume - this.last_volume_notification) < 0.01)
return;
var shown_action = actions.lookup_action ("indicator-shown") as SimpleAction;