]> git.ipfire.org Git - thirdparty/plymouth.git/commit
drm: Honour screen rotation when detecting HiDPI
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 18 Oct 2021 10:58:29 +0000 (11:58 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 18 Oct 2021 10:58:29 +0000 (11:58 +0100)
commita76fe9a06993a2e2c7ee11da9d39202f47195b39
tree3affe6211dbfe7e2c68eacca585ddeae2296ae0a
parentbad6d41504e82e889a5aad3a72fa7d38216f4197
drm: Honour screen rotation when detecting HiDPI

Currently if the screen is rotated by 90 degrees, the effective
width/height will be swapped. Thus we will incorrectly detect the panel
as HiDPI.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/plugins/renderers/drm/plugin.c