Fix crash on hidpi with wayland (#6508)
This commit is contained in:
1 parent
5243d73353
commit
d1684d38e8
1 file changed
+2
@@ -909,6 +909,8 @@ impl WaylandWindowInner {
|
||||
) {
|
||||
self.surface().attach(Some(buffer.wl_buffer()), 0, 0);
|
||||
self.surface().set_buffer_scale(factor as i32);
|
||||
self.surface().commit();
|
||||
|
||||
self.surface_factor = factor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user