diff options
author | Nathan Lilienthal <nathan@nixpulvis.com> | 2021-02-01 16:25:24 -0500 |
---|---|---|
committer | Nathan Lilienthal <nathan@nixpulvis.com> | 2021-02-04 09:30:10 -0500 |
commit | a5e2ccd5aba720cc63af4079e7f5e5afb6d9b893 (patch) | |
tree | f3bba71a1a5c5cc7e71f4360758f58f8349517b4 /alacritty_terminal/src/config/mod.rs | |
parent | 73759da0f52f7186181f7284a4c9cb9db0798d59 (diff) | |
download | alacritty-a5e2ccd5aba720cc63af4079e7f5e5afb6d9b893.tar.gz alacritty-a5e2ccd5aba720cc63af4079e7f5e5afb6d9b893.zip |
Fix the estimated DPR to 1 on Wayland.
On Wayland, regardless of the underlying scale factor for an output, The
scale factor is 1.0 until we receive the first DPRChanged event. To
correctly calculate the window sizes, we must use a DPR of 1.0 as well.
Ideally we would know what the DPR of the window we're being opened in
is going to be, and avoid the estimation guessing game, but that doesn't
seem possible with the current interfaces provided by the window
systems.
Diffstat (limited to 'alacritty_terminal/src/config/mod.rs')
0 files changed, 0 insertions, 0 deletions