Skip to content

Commit

Permalink
Update window/src/os/wayland/window.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wez authored and dberlin committed Apr 6, 2024
1 parent f756595 commit a5d447d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions window/src/os/wayland/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ impl WaylandWindowInner {

if pending.configure.is_none() {
if pending.dpi.is_some() {
// Synthesize a pending configure event for the dpi change
pending.configure.replace((
self.pixels_to_surface(self.dimensions.pixel_width as i32) as u32,
self.pixels_to_surface(self.dimensions.pixel_height as i32) as u32,
Expand Down

0 comments on commit a5d447d

Please sign in to comment.