graesslin added a comment. | View Revision
In D6952#129679, @davidedmundson wrote:Seems ok, but I'm lost as to why Xwayland clients have a different buffer size in the first place.
It is due to the reparenting of the window to support window decorations. The actual window becomes larger. You can find similar adjustments in the code building the vertices for OpenGL.