GNOME Bugzilla – Bug 770127
clutter/stage: Offset framebuffer capture origin by view layout
Last modified: 2016-09-06 07:00:48 UTC
This fixes screen capture (screenshot/screen recording) when for views other than ones with the origin (0,0) when MUTTER_STAGE_VIEWS=1.
Created attachment 333602 [details] [review] clutter/stage: Offset framebuffer capture origin by view layout The rectangle passed to capture_view() is in stage coordinate space; thus, to translate to framebuffer coordinate space, the origin need to be translated by the view layout position. This fixes capturing views not at position (0, 0).
Review of attachment 333602 [details] [review]: right
Attachment 333602 [details] pushed as f36fa53 - clutter/stage: Offset framebuffer capture origin by view layout