]> git.ipfire.org Git - thirdparty/plymouth.git/commit
ply-utils: Increase threshold for guessed hiDPI scaling to >= 2880x1620
authorHans de Goede <hdegoede@redhat.com>
Thu, 6 Mar 2025 16:53:43 +0000 (17:53 +0100)
committerHans de Goede <jwrdegoede@fedoraproject.org>
Tue, 6 May 2025 11:38:59 +0000 (11:38 +0000)
commit1421a9f65ffddad75a03f656c312df9cebff44c0
tree3464305c530a991bd1151df780c5ccbe1704c4f5
parent2123f7b9c6d0982f8caf25d6e6d36cb3ce1ece35
ply-utils: Increase threshold for guessed hiDPI scaling to >= 2880x1620

1440 is only 33% more then FHD, so using 2x there is a bit too much and
leads to the spinner being much too large on e.g 27" monitors.

And on e.g. Dell ultrawide 34" 3440x1440 which are only 110 DPI this effect
is even worse.

Change the threshold to >= 2880x1620 to avoid using 2x scaling on 1440p
monitors. 2880x1620 is ~240DPI when used in a 14" laptop at which point
using 2x scaling is really necessary.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
src/libply/ply-utils.c