Skip to content

shaped-texture: Fix screenshots and window animations when scaled

Robert Mader requested to merge rmader/mutter:get-image into master

Make shaped-texture take surface coordinates for the clip in meta_shaped_texture_get_image, handle scaling of the clip in meta_window_actor_get_image.

Tested:

  • all three cases in meta_shaped_texture_get_image()
    • fast path meta_shaped_texture_get_image
    • fast path get_image_via_offscreen
    • 'slow' path
  • with and without scale-monitor-framebuffer
  • with scaled (GTK) und undscaled (XWayland) clients
  • for window animation and screenshots

Together with gnome-shell!728 (merged) fixes #775 (closed) and, unintentionally, fixes gnome-shell#1421 (closed)

Edited by Robert Mader

Merge request reports