mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-14 11:58:09 +02:00
window: Use surface coordinates for looking up widgets
This commit is contained in:
parent
b67e94b170
commit
30948989ee
1 changed files with 1 additions and 1 deletions
|
|
@ -1500,7 +1500,7 @@ input_handle_pointer_focus(void *data,
|
|||
input->sy = sy;
|
||||
|
||||
pointer = POINTER_LEFT_PTR;
|
||||
widget = window_find_widget(window, x, y);
|
||||
widget = window_find_widget(window, sx, sy);
|
||||
window_set_focus_widget(window, widget, input, time, sx, sy);
|
||||
|
||||
pointer = input_get_pointer_image_for_location(input, pointer);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue