My KWIN fork where I work on features like per-output virtual desktops
Find a file
Vlad Zahorodnii 49aadee2a9 Use correct "natural" surface size when computing surface-to-buffer matrix
If the source rectangle is not set, we need to use the surface size
given by the attached buffer. It's computed as buffer size / scale, but
the buffer can also be transformed. In other words, we need to compute
the natural surface size as follows - buffer size / scale and transpose
the result if the buffer is rotated 90 or 270 degrees.
2022-01-08 15:15:14 +02:00
src/wayland Use correct "natural" surface size when computing surface-to-buffer matrix 2022-01-08 15:15:14 +02:00