1
0
Fork 0
forked from wry/wry

tree: move output scale to global

This commit is contained in:
Julian Orth 2024-02-16 19:15:03 +01:00
parent 0ba8648844
commit d4fc672fb3
11 changed files with 16 additions and 17 deletions

View file

@ -265,7 +265,7 @@ impl WlSeatGlobal {
for output in self.state.root.outputs.lock().values() {
if let Some(hc) = output.hardware_cursor.get() {
let render = render | output.hardware_cursor_needs_render.take();
let scale = output.preferred_scale.get();
let scale = output.global.preferred_scale.get();
let extents = cursor.extents_at_scale(scale);
if render {
let (max_width, max_height) = hc.max_size();