My KWIN fork where I work on features like per-output virtual desktops
49aadee2a9
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. |
||
---|---|---|
src/wayland |