mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 00:14:09 +00:00

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