1
0
Fork 0
forked from wry/wry

scale: make wl representation private

This commit is contained in:
Julian Orth 2024-03-16 01:28:57 +01:00
parent 355a9eb240
commit bc9b1c3638
5 changed files with 22 additions and 7 deletions

View file

@ -310,7 +310,7 @@ impl Randr {
tc.send(jay_randr::SetScale {
self_id: randr,
output: &args.output,
scale: scale.0,
scale: scale.to_wl(),
});
}
OutputCommand::Mode(t) => {
@ -557,7 +557,7 @@ impl Randr {
let mut data = data.borrow_mut();
let c = data.connectors.last_mut().unwrap();
c.output = Some(Output {
scale: Scale(msg.scale).to_f64(),
scale: Scale::from_wl(msg.scale).to_f64(),
width: msg.width,
height: msg.height,
x: msg.x,