aboutsummaryrefslogtreecommitdiff
path: root/backend/wayland/wl_seat.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-29 17:43:26 +0100
committeremersion <contact@emersion.fr>2017-10-31 12:30:56 +0100
commit95566c6bdfb7048b2460b701747f4c9d3fcd4ebd (patch)
tree82baf8d4635939f4172a0bc129be1d1cf6dcdb90 /backend/wayland/wl_seat.c
parent6656e25fd4c5575400a2a3bc4d94a8f834630c5e (diff)
Transform cursor hotspot, fix wayland cursor hotspot
Diffstat (limited to 'backend/wayland/wl_seat.c')
-rw-r--r--backend/wayland/wl_seat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/wayland/wl_seat.c b/backend/wayland/wl_seat.c
index 903ca3ee..0d8e5b1f 100644
--- a/backend/wayland/wl_seat.c
+++ b/backend/wayland/wl_seat.c
@@ -23,8 +23,8 @@ static void pointer_handle_enter(void *data, struct wl_pointer *wl_pointer,
wlr_wl_output_for_surface(wlr_wl_dev->backend, surface);
assert(output);
wlr_wl_pointer->current_output = output;
- wlr_wl_pointer->current_output->enter_serial = serial;
- wlr_wl_output_update_cursor(wlr_wl_pointer->current_output, serial, 0, 0);
+ output->enter_serial = serial;
+ wlr_wl_output_update_cursor(output);
}
static void pointer_handle_leave(void *data, struct wl_pointer *wl_pointer,