Skip to content

gdk/wayland: Take transform into account when setting physical size

This is a backport upstream MR https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3515

With the script from

$ python3 bla.py 
Pixel dims: 360, 720
mm dims: 65, 130

# rotate l5 to the side:

0|purism@nn:~ (master)$ python3 bla.py 
Pixel dims: 720, 360
mm dims: 130, 65

Closes: #31 (closed)

Edited by Guido Gunther

Merge request reports