winit/src/platform_impl/linux/x11/util
Kirill Chibisov 114c18e70d 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
2020-01-03 18:15:47 -05:00
..
atom.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
client_msg.rs Replace std::mem::uninitialized with MaybeUninit (#1027) 2019-07-11 10:34:32 -06:00
cursor.rs X11: Improve performance of Window::set_cursor_icon (#1116) 2019-08-26 22:06:59 -04:00
format.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
geometry.rs Replace std::mem::uninitialized with MaybeUninit (#1027) 2019-07-11 10:34:32 -06:00
hint.rs Allow using multiple XWindowTypes on X11 (#1140) (#1147) 2019-09-23 07:10:33 -07:00
icon.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
input.rs Change ModifiersState to a bitflags struct (#1306) 2019-12-28 15:36:06 -05:00
keys.rs X11: Sync key press/release with window focus (#1296) 2019-12-07 15:51:37 -07:00
memory.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00
mod.rs X11: Sync key press/release with window focus (#1296) 2019-12-07 15:51:37 -07:00
modifiers.rs Change ModifiersState to a bitflags struct (#1306) 2019-12-28 15:36:06 -05:00
randr.rs On X11, make WINIT_HIDPI_FACTOR dominate Xft.dpi in some cases (#1354) 2020-01-03 18:15:47 -05:00
window_property.rs Replace std::mem::uninitialized with MaybeUninit (#1027) 2019-07-11 10:34:32 -06:00
wm.rs Format everything and add rustfmt to travis (#951) 2019-06-21 11:33:15 -04:00