Exactly: if there exists the need for a new screen-capture API, it should be added first to the protocol (Wayland) and then implemented in the compositor...