tree: move output scale to global
This commit is contained in:
parent
0ba8648844
commit
d4fc672fb3
11 changed files with 16 additions and 17 deletions
|
|
@ -39,7 +39,7 @@ impl WpFractionalScaleV1 {
|
|||
pub fn send_preferred_scale(&self) {
|
||||
self.client.event(PreferredScale {
|
||||
self_id: self.id,
|
||||
scale: self.surface.output.get().preferred_scale.get().0,
|
||||
scale: self.surface.output.get().global.preferred_scale.get().0,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue