https://bugs.kde.org/show_bug.cgi?id=419814

Alexey Min <alexey....@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/netw |https://invent.kde.org/netw
                   |ork/krfb/commit/933169b4c0e |ork/krfb/commit/024ce87b3af
                   |3ea9796783f70eca2f0aae29dea |0c7b8cffbf2065c3f083a057edb
                   |2f                          |70

--- Comment #6 from Alexey Min <alexey....@gmail.com> ---
Git commit 024ce87b3af0c7b8cffbf2065c3f083a057edb70 by Alexey Min, on behalf of
Stefan BrĂ¼ns.
Committed on 15/09/2020 at 00:03.
Pushed by alexeymin into branch 'release/20.08'.

Compensate for global scale factor when using xcb fb plugin

The screen geometry is reported in device independent pixels, so it has
to be multiplied by the devicePixelRatio to get the size of the underlying
framebuffer. Otherwise, only the top left of the screen will be captured.

This matches the behavior of QScreen::grabWindow(...), which also
returns a QPixmap of the given size scaled by devicePixelRatio.

M  +5    -2    framebuffers/xcb/xcb_framebuffer.cpp

https://invent.kde.org/network/krfb/commit/024ce87b3af0c7b8cffbf2065c3f083a057edb70

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to