Fix GNOME's check of "supported" flag

This commit is contained in:
Takashi Kokubun 2022-05-07 21:23:24 -07:00
parent d0b13ce6c7
commit e660f219b1
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

View File

@ -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<String> {