[][src]Type Definition wlroots::xwayland::manager::NewSurface

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

Callback that's triggered when a new surface is presented to the X server.