[][src]Type Definition wlroots::compositor::NewSurface

type NewSurface = fn(compositor_handle: Handle, surface_handle: Handle);

Callback that's triggered when a surface is provided to the compositor.