summaryrefslogtreecommitdiff
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/state.rs b/src/state.rs
index 5ad4511..2c55e2d 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -170,7 +170,6 @@ impl State {
frame_cb: None,
width: 0,
height: self.shared_state.config.height,
- scale: 1,
scale120: None,
surface,
viewport: self.viewporter.get_viewport(conn, surface),
@@ -380,7 +379,7 @@ fn wl_pointer_cb(
conn,
&mut state.shared_state.shm,
default_cursor,
- bar.scale,
+ bar.output.scale,
args.serial,
);
}