Skip to content

wayland: Rotate physical dimensions as well

Olivier Fourdan requested to merge ofourdan/mutter:issue369 into master

For Wayland outputs, we do not expose the actual transformation because mutter does not support wl_surface.set_buffer_transform, instead we swap the logical width and height when the output is rotated.

However, a client wishing to use the physical size would get confused, so if the output is rotated, rotate the physical dimensions as well for consistency.

Closes: #369 (closed)

Merge request reports