mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
Send out coordinates with pointer_focus event
We can't rely on motion events happening right away, pointer_focus could change because of windows coming or going etc.
This commit is contained in:
parent
c071f4d008
commit
6d70202f80
5 changed files with 25 additions and 10 deletions
|
|
@ -400,7 +400,8 @@ window_handle_key(void *data, struct wl_input_device *input_device,
|
|||
static void
|
||||
window_handle_pointer_focus(void *data,
|
||||
struct wl_input_device *input_device,
|
||||
uint32_t time, struct wl_surface *surface)
|
||||
uint32_t time, struct wl_surface *surface,
|
||||
int32_t x, int32_t y, int32_t sx, int32_t sy)
|
||||
{
|
||||
struct input *input = data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue