Skip to content
Commit 2b88fab8 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects/screenshot: Add support for HiDPI window screenshots

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.
parent a8d702ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment