aboutsummaryrefslogtreecommitdiff
path: root/src/mpris-bridge.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpris-bridge.vala')
-rw-r--r--src/mpris-bridge.vala11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mpris-bridge.vala b/src/mpris-bridge.vala
index bb02550..bd9d472 100644
--- a/src/mpris-bridge.vala
+++ b/src/mpris-bridge.vala
@@ -47,6 +47,17 @@ public class MprisBridge : GLib.Object
}
}
+ public void expose()
+ {
+ if(this.mode_in_use == mode.MPRIS_2){
+ this.mpris2_controller.expose();
+ }
+ else{
+ warning("MPRIS1 clients don't have the ability to raise/expose the client");
+ }
+ }
+
+
public void set_track_position(double pos)
{
if(this.mode_in_use == mode.MPRIS_1){