[][src]Type Definition wlroots::shell::xdg_shell::manager::NewSurface

type NewSurface = fn(compositor_handle: Handle, xdg_shell_handle: Handle) -> (Option<Box<dyn Handler>>, Option<Box<dyn Handler>>);

Callback that is triggered when a new stable XDG shell surface appears.