Revert "Fix crash on hidpi with wayland (#6508)"
This reverts commit d1684d38e8.
This commit is contained in:
1 parent
06a06bca94
commit
135b187fa8
1 file changed
-2
@@ -942,8 +942,6 @@ 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