f36fa53b0e
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). https://bugzilla.gnome.org/show_bug.cgi?id=770127