mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
Implement mouse warping
This commit is contained in:
parent
eb5a8e03ff
commit
ae6d459000
5 changed files with 39 additions and 4 deletions
|
|
@ -156,8 +156,8 @@ static void handle_cursor_motion(struct wl_listener *listener, void *data) {
|
|||
cursor_send_pointer_motion(cursor, event->time_msec);
|
||||
}
|
||||
|
||||
static void handle_cursor_motion_absolute(struct wl_listener *listener,
|
||||
void *data) {
|
||||
static void handle_cursor_motion_absolute(
|
||||
struct wl_listener *listener, void *data) {
|
||||
struct sway_cursor *cursor =
|
||||
wl_container_of(listener, cursor, motion_absolute);
|
||||
struct wlr_event_pointer_motion_absolute *event = data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue