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:
Kristian Høgsberg 2010-08-06 15:12:22 -04:00
parent c071f4d008
commit 6d70202f80
5 changed files with 25 additions and 10 deletions

View file

@ -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;