• Marco Trevisan's avatar
    shell-screenshot: Apply monitor scale to cursor surface · 115eda96
    Marco Trevisan authored
    When we grab a screenshot of a framebuffer scaled shell, we shoudl apply the
    device scale to the image surface, while the monitor scaling should be applied
    to the cursor surface, so that it's painted at proper coordinates and in proper
    size in the generated image.
    
    This is not needed for XWayland clients as they are not scaled anyways, while
    for wayland clients that are painted in multiple monitors, this might cause
    a lower quality cursor in the lower dpi monitor, because the cursor sprite is
    generated for the monitor scale, and not for the surface scale.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765011
    !5
    115eda96