clutter: Add clutter_stage_paint_to_content()

Merged Ivan Molodetskikh requested to merge YaLTeR/mutter:clutter-stage-get-content into main

Returns a snapshot of the stage as a ClutterContent, which can be later e.g. attached to a ClutterActor. Used in the new screenshot UI to immediately snapshot the stage for subsequent area selection and image saving.

Edited by Ivan Molodetskikh

Merge request reports