scale: make wl representation private
This commit is contained in:
parent
355a9eb240
commit
bc9b1c3638
5 changed files with 22 additions and 7 deletions
|
|
@ -39,7 +39,14 @@ impl WpFractionalScaleV1 {
|
|||
pub fn send_preferred_scale(&self) {
|
||||
self.client.event(PreferredScale {
|
||||
self_id: self.id,
|
||||
scale: self.surface.output.get().global.preferred_scale.get().0,
|
||||
scale: self
|
||||
.surface
|
||||
.output
|
||||
.get()
|
||||
.global
|
||||
.preferred_scale
|
||||
.get()
|
||||
.to_wl(),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue