Update keyboard focus handler signatures
diff --git a/clients/gears.c b/clients/gears.c
index 073eee1..7d97e23 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -309,7 +309,7 @@
static void
keyboard_focus_handler(struct window *window,
- struct wl_input_device *device, void *data)
+ struct input *device, void *data)
{
struct gears *gears = data;
diff --git a/clients/image.c b/clients/image.c
index c8de5e6..fa23520 100644
--- a/clients/image.c
+++ b/clients/image.c
@@ -190,7 +190,7 @@
static void
keyboard_focus_handler(struct window *window,
- struct wl_input_device *device, void *data)
+ struct input *device, void *data)
{
struct image *image = data;
@@ -224,7 +224,8 @@
window_set_user_data(image->window, image);
window_set_redraw_handler(image->window, redraw_handler);
- window_set_keyboard_focus_handler(image->window, keyboard_focus_handler);
+ window_set_keyboard_focus_handler(image->window,
+ keyboard_focus_handler);
image_draw(image);
diff --git a/clients/terminal.c b/clients/terminal.c
index 5fe0d21..1bb496d 100644
--- a/clients/terminal.c
+++ b/clients/terminal.c
@@ -441,7 +441,7 @@
static void
keyboard_focus_handler(struct window *window,
- struct wl_input_device *device, void *data)
+ struct input *device, void *data)
{
struct terminal *terminal = data;
diff --git a/clients/view.c b/clients/view.c
index e0903bf..0c8ce5a 100644
--- a/clients/view.c
+++ b/clients/view.c
@@ -148,7 +148,7 @@
static void
keyboard_focus_handler(struct window *window,
- struct wl_input_device *device, void *data)
+ struct input *device, void *data)
{
struct view *view = data;