pub fn send_frame(&self, time: u32) {
        if let Some(wl_surface) = self.toplevel.get_surface() {
            with_surface_tree_downward(
                wl_surface,
                (),
                |_, _, &()| TraversalAction::DoChildren(()),
                |_, states, &()| {
                    // the surface may not have any user_data if it is a subsurface and has not
                    // yet been commited
                    SurfaceData::send_frame(&mut *states.cached_state.current(), time)
                },
                |_, _, &()| true,
            );
        }
    }
/// Sends the frame callback to all the subsurfaces in this
/// window that requested it
Sends the frame callback to all the subsurfaces in this
window that requested it
Sends the frame callback to all the subsurfaces in this window that requested it
pub fn send_frame(&self, time: u32) {
        if let Some(wl_surface) = self.toplevel.get_surface() {
            with_surface_tree_downward(
                wl_surface,
                (),
                |_, _, &()| TraversalAction::DoChildren(()),
                |_, states, &()| {
                    // the surface may not have any user_data if it is a subsurface and has not
                    // yet been commited
                    SurfaceData::send_frame(&mut *states.cached_state.current(), time)
                },
                |_, _, &()| true,
            );
        }
    }
pub fn send_frame ( & self , time : u32 ) { if let Some ( wl_surface ) = self . toplevel . get_surface ( ) { with_surface_tree_downward ( wl_surface , ( ) , | _ , _ , & ( ) | TraversalAction :: DoChildren ( ( ) ) , | _ , states , & ( ) | { // the surface may not have any user_data if it is a subsurface and has not // yet been commited SurfaceData :: send_frame ( & mut * states . cached_state . current ( ) , time ) } , | _ , _ , & ( ) | true , ) ; } }
Sends the frame callback to all the subsurfaces in this
window that requested it
Sends the frame callback to all the subsurfaces in this window that requested it
&self
time
u32
&self
time
u32