winit/wayland: Apply scale when creating drag surface
This commit is contained in:
parent
b4168e69cc
commit
a1792b681a
4 changed files with 2383 additions and 5 deletions
|
|
@ -261,8 +261,9 @@ impl WaylandSpecific {
|
|||
let surface =
|
||||
WlSurface::from_id(self.conn.as_ref().unwrap(), id)
|
||||
.unwrap();
|
||||
subsurface_state
|
||||
.update_surface_shm(&surface, width, height, data, offset);
|
||||
subsurface_state.update_surface_shm(
|
||||
&surface, width, height, scale, data, offset,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue