aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/volume-control-pulse.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala
index 39ff14c..403acec 100644
--- a/src/volume-control-pulse.vala
+++ b/src/volume-control-pulse.vala
@@ -614,7 +614,7 @@ public class VolumeControlPulse : VolumeControl
_volume = value;
/* Make sure we're connected to Pulse and pulse didn't give us the change */
- if (context.get_state () != Context.State.READY &&
+ if (context.get_state () == Context.State.READY &&
_volume.reason != VolumeControl.VolumeReasons.PULSE_CHANGE)
if (_pulse_use_stream_restore)
set_volume_active_role.begin ();