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

@ -438,7 +438,7 @@ impl WlSurface {
}
output.global.send_enter(self);
old.global.send_leave(self);
if old.preferred_scale.get() != output.preferred_scale.get() {
if old.global.preferred_scale.get() != output.global.preferred_scale.get() {
self.on_scale_change();
}
let children = self.children.borrow_mut();