Bug in randr/rrtransform.c : RRTrasnformCompute()

Stirling Westrup swestrup at gmail.com
Thu Nov 3 19:45:44 UTC 2016


I've noticed that the transformation matrices that this function builds for
rotated screens is not quite correct.

In particular, it consistently builds maps from 0 to width or height
instead of from 0 to width-1 or height-1.

This means that an inverted screen maps (0,0) to (width,height) instead of
(width-1,height-1). This causes out-of-boundary errors when mapping screens.



-- 
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20161103/b8fddd2b/attachment.html>


More information about the xorg-devel mailing list