mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 00:37:59 +02:00
toytoolkit: supply correct widget in motion_handler callback
This commit is contained in:
parent
067abf67cd
commit
8c9c8fcf6e
1 changed files with 1 additions and 1 deletions
|
|
@ -2013,7 +2013,7 @@ pointer_handle_motion(void *data, struct wl_pointer *pointer,
|
|||
else
|
||||
widget = input->focus_widget;
|
||||
if (widget && widget->motion_handler)
|
||||
cursor = widget->motion_handler(input->focus_widget,
|
||||
cursor = widget->motion_handler(widget,
|
||||
input, time, sx, sy,
|
||||
widget->user_data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue