diff --git a/src/client/gnome_client.rs b/src/client/gnome_client.rs index c03f90b..75b7fbd 100644 --- a/src/client/gnome_client.rs +++ b/src/client/gnome_client.rs @@ -21,7 +21,7 @@ impl GnomeClient { impl Client for GnomeClient { fn supported(&mut self) -> bool { self.connect(); - self.connection.is_some() + self.current_application().is_some() } fn current_application(&mut self) -> Option {