File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/platform_impl/linux/wayland/event_loop Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Unreleased` header.
11
11
12
12
# Unreleased
13
13
14
+ - On Wayland, fix resize not issued when scale changes
14
15
- On X11 and Wayland, fix arrow up on keypad reported as ` ArrowLeft ` .
15
16
16
17
# 0.29.8
Original file line number Diff line number Diff line change @@ -401,7 +401,9 @@ impl<T: 'static> EventLoop<T> {
401
401
}
402
402
}
403
403
404
- if compositor_update. resized {
404
+ // NOTE: Rescale changed the physical size which winit operates in, thus we should
405
+ // resize.
406
+ if compositor_update. resized || compositor_update. scale_changed {
405
407
let physical_size = self . with_state ( |state| {
406
408
let windows = state. windows . get_mut ( ) ;
407
409
let window = windows. get ( & window_id) . unwrap ( ) . lock ( ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments