Skip to content

plugins/screenshot: Fix clipped workspace screenshots on X11

Noah Davis requested to merge work/ndavis/clipped-screenshots into master

When the global UI scale is not 100%, the image returned by CaptureWorkspace is clipped off on the right and bottom sides since the image size isn't large enough to fit the whole workspace. This patch fixes that by using QScreen DPR instead of EffectScreen DPR. See the comment in the code for details.

BUG: 475503

Edited by Noah Davis

Merge request reports

Loading