Continuation of !3610 (merged).
Allows compositors to set a buffer to a detached output state. Useful with !3984 (closed).