diff --git a/podcasts-gtk/src/app.rs b/podcasts-gtk/src/app.rs index 237996c..52cd974 100644 --- a/podcasts-gtk/src/app.rs +++ b/podcasts-gtk/src/app.rs @@ -391,7 +391,8 @@ impl App { self.headerbar.switch.set_sensitive(true); self.content.switch_to_populated(); } - Action::RaiseWindow => self.window.present(), + // https://gitlab.gnome.org/GNOME/gtk/issues/624#note_109968 + Action::RaiseWindow => self.window.present_with_time((glib::get_monotonic_time() / 1000) as u32), } } diff --git a/podcasts-gtk/src/widgets/player.rs b/podcasts-gtk/src/widgets/player.rs index d902a24..fa65a8d 100644 --- a/podcasts-gtk/src/widgets/player.rs +++ b/podcasts-gtk/src/widgets/player.rs @@ -220,6 +220,7 @@ impl Default for PlayerWidget { "GNOME Podcasts".to_string(), "org.gnome.Podcasts.desktop".to_string(), ); + mpris.set_can_raise(true); mpris.set_can_play(false); mpris.set_can_seek(false); mpris.set_can_set_fullscreen(false);