Skip to content

Commit

Permalink
src/mpris: remove Raise method, it's not actually supported
Browse files Browse the repository at this point in the history
  • Loading branch information
eNV25 committed Aug 23, 2023
1 parent 2984db0 commit 852b8a6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/mpris/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,7 @@ impl RootProxy {
/// CanRaise property
#[dbus_interface(property)]
fn can_raise(&self) -> bool {
true
}

/// Raise method
fn raise(&self) {
mpv::set_property_bool!(self.ctx(), "focused\0", true);
false
}

/// CanSetFullscreen property
Expand Down

0 comments on commit 852b8a6

Please sign in to comment.