mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 14:51:30 +11:00
6c1d3c4fd8
The scale factor being sent when the only monitor is disconnected and reconnected is hard coded to 1.0. That may work by chance, if that's the scale factor in use currently, but it does not work in the general case. As a result, clients may end up with wrongly scaled or laid out window contents after reconnect, as was reported over in https://github.com/alacritty/alacritty/issues/5703, for example. The problem was introduced by change |
||
---|---|---|
.. | ||
wayland | ||
x11 | ||
mod.rs |