window: Move focus widget to struct input
diff --git a/clients/window.h b/clients/window.h
index b9be2af..e9d717b 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -218,8 +218,6 @@
typedef void (*data_func_t)(void *data, size_t len,
int32_t x, int32_t y, void *user_data);
-struct widget *
-window_get_focus_widget(struct window *window);
struct display *
window_get_display(struct window *window);
void
@@ -364,6 +362,9 @@
void
input_ungrab(struct input *input, uint32_t time);
+struct widget *
+input_get_focus_widget(struct input *input);
+
struct wl_input_device *
input_get_input_device(struct input *input);