mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-03-13 21:00:37 +01:00
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>
This commit is contained in:
parent
2123f7b9c6
commit
1421a9f65f
1 changed files with 2 additions and 2 deletions
|
|
@ -1048,8 +1048,8 @@ get_device_scale_guess (uint32_t width,
|
|||
return (width >= 1800 &&
|
||||
height >= 1200) ? 2 : 1;
|
||||
|
||||
return (width >= 2560 &&
|
||||
height >= 1200) ? 2 : 1;
|
||||
return (width >= 2880 &&
|
||||
height >= 1620) ? 2 : 1;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue