aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 09c020e9..c0b775db 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -445,7 +445,7 @@ static bool handle_pointer_motion(wlc_handle handle, uint32_t time, const struct
set_focused_container(pointer_state.view);
}
}
- wlc_pointer_set_origin(new_origin);
+ wlc_pointer_set_origin(&new_origin);
return EVENT_PASSTHROUGH;
}