Skip to content

Commit 47c9df2

Browse files
committed
Fixing.
1 parent a86ffb4 commit 47c9df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linux/listen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ unsafe extern "C" fn record_callback(
107107
let y = xdatum.root_y as f64;
108108

109109
let ptr = &raw mut KEYBOARD;
110-
if let Some(event) = convert(&mut &ptr, code, type_, x, y) {
110+
if let Some(event) = convert(&mut *ptr, code, type_, x, y) {
111111
let ptr = &raw mut GLOBAL_CALLBACK;
112112
if let Some(callback) = &mut *ptr {
113113
callback(event);

0 commit comments

Comments
 (0)