Skip to content

effects/screenshot: Add support for HiDPI window screenshots

Vlad Zahorodnii requested to merge work/hidpi-window-screenshot into master

In general, on Wayland, there is no such a thing as "window scale factor" because sub-surfaces can have different buffer scales. However, we know the scale factor of the output where the window is considered to be on. So we can use the screen's scale factor as the window's scale factor. In most cases, it will produce the correct result.

Merge request reports

Loading