pub fn has_focus(&self, client: &Client) -> bool {
        self.arc
            .internal
            .borrow_mut()
            .focus
            .as_ref()
            .and_then(|f| f.as_ref().client())
            .map(|c| c.equals(client))
            .unwrap_or(false)
    }
/// Check if given client currently has keyboard focus
Check if given client currently has keyboard focus
Check if given client currently has keyboard focus
pub fn has_focus(&self, client: &Client) -> bool {
        self.arc
            .internal
            .borrow_mut()
            .focus
            .as_ref()
            .and_then(|f| f.as_ref().client())
            .map(|c| c.equals(client))
            .unwrap_or(false)
    }
pub fn has_focus ( & self , client : & Client ) -> bool { self . arc . internal . borrow_mut ( ) . focus . as_ref ( ) . and_then ( | f | f . as_ref ( ) . client ( ) ) . map ( | c | c . equals ( client ) ) . unwrap_or ( false ) }
Check if given client currently has keyboard focus
Check if given client currently has keyboard focus
&self
client
&Client
&self
client
&Client