pub fn geometry(&self) -> Rectangle<i32, Logical> {
        // It's the set geometry with the full bounding box as the fallback.
        with_states(self.toplevel.get_surface().unwrap(), |states| {
            states.cached_state.current::<SurfaceCachedState>().geometry
        })
        .unwrap()
        .unwrap_or(self.bbox)
    }
/// Returns the geometry of this window.
Returns the geometry of this window.
Returns the geometry of this window .
pub fn geometry(&self) -> Rectangle<i32, Logical> {
        // It's the set geometry with the full bounding box as the fallback.
        with_states(self.toplevel.get_surface().unwrap(), |states| {
            states.cached_state.current::<SurfaceCachedState>().geometry
        })
        .unwrap()
        .unwrap_or(self.bbox)
    }
pub fn geometry ( & self ) -> Rectangle < i32 , Logical > { // It's the set geometry with the full bounding box as the fallback. with_states ( self . toplevel . get_surface ( ) . unwrap ( ) , | states | { states . cached_state . current :: < SurfaceCachedState > ( ) . geometry } ) . unwrap ( ) . unwrap_or ( self . bbox ) }
Returns the geometry of this window.
Returns the geometry of this window .
&self
&self