X11: Properly update window size constraints on DPI change (#1356)

* In `WindowBuilderExtUnix` methods, use `Size` instead of `LogicalSize`
This commit is contained in:
Murarth 2020-01-03 23:14:11 -07:00 committed by Osspial
parent 3aa3880e69
commit ec1ae68cfc
4 changed files with 37 additions and 22 deletions

View file

@ -420,6 +420,7 @@ impl<T: 'static> EventProcessor<T> {
new_scale_factor,
width,
height,
&shared_state_lock,
);
let old_inner_size = PhysicalSize::new(width, height);
@ -1134,6 +1135,7 @@ impl<T: 'static> EventProcessor<T> {
new_monitor.scale_factor,
width,
height,
&*window.shared_state.lock(),
);
let window_id = crate::window::WindowId(