On X11, make WINIT_HIDPI_FACTOR dominate Xft.dpi in some cases (#1354)
* On X11, make `WINIT_HIDPI_FACTOR` dominate `Xft.dpi` in some cases This commit makes `WINIT_HIDPI_FACTOR` dominate `Xft.dpi` in general and adds a special value `0` for `WINIT_HIDPI_FACTOR` to use winit computed DPI factor with randr over Xft.dpi. * Use `randr` instead of `0` for auto dpi scaling * Update CHANGELOG * blow up on wrong env var * Allow empty string for env var
This commit is contained in:
parent
7367b8be6c
commit
114c18e70d
2 changed files with 53 additions and 19 deletions
|
|
@ -23,6 +23,8 @@
|
|||
- On Windows, fix `Window::set_visible` not setting internal flags correctly. This resulted in some weird behavior.
|
||||
- Add `DeviceEvent::ModifiersChanged`.
|
||||
- Deprecate `modifiers` fields in other events in favor of `ModifiersChanged`.
|
||||
- On X11, `WINIT_HIDPI_FACTOR` now dominates `Xft.dpi` when picking DPI factor for output.
|
||||
- On X11, add special value `randr` for `WINIT_HIDPI_FACTOR` to make winit use self computed DPI factor instead of the one from `Xft.dpi`.
|
||||
|
||||
# 0.20.0 Alpha 5 (2019-12-09)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue