mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 14:50:04 -04:00
x11: compute resize logical size with new dpi (#668)
* x11: compute resize logical size with new dpi Whenever a dpi change occurs, trigger a Resized event as well with the new logical size. Given X11 primarily deals in physical pixels, a change in DPI also changes the logical size (as the physical size remains fixed). * Doc tweaks
This commit is contained in:
committed by
Francesca Plebani
parent
f486845f7f
commit
c744b016ce
@@ -14,8 +14,10 @@
|
||||
- On Windows, `Window::set_cursor` now applies immediately instead of requiring specific events to occur first.
|
||||
- On Windows, fix `Window::set_maximized`.
|
||||
- On Windows 10, fix transparency (#260).
|
||||
- on macOS, fix modifiers during key repeat.
|
||||
- On macOS, fix modifiers during key repeat.
|
||||
- Implemented the `Debug` trait for `Window`, `EventsLoop`, `EventsLoopProxy` and `WindowBuilder`.
|
||||
- On X11, now a `Resized` event will always be generated after a DPI change to ensure the window's logical size is consistent with the new DPI.
|
||||
- Added further clarifications to the DPI docs.
|
||||
|
||||
# Version 0.17.2 (2018-08-19)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user