From e6ad67911bffcd804549bd1812a77a305cc14eb4 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Mon, 14 Aug 2017 14:54:53 +0200 Subject: Refactor out wlr_input_device_state --- include/wlr/interfaces/wlr_input_device.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/wlr/interfaces') diff --git a/include/wlr/interfaces/wlr_input_device.h b/include/wlr/interfaces/wlr_input_device.h index 26729c7c..b236a24a 100644 --- a/include/wlr/interfaces/wlr_input_device.h +++ b/include/wlr/interfaces/wlr_input_device.h @@ -3,13 +3,13 @@ #include struct wlr_input_device_impl { - void (*destroy)(struct wlr_input_device_state *state); + void (*destroy)(struct wlr_input_device *wlr_device); }; -struct wlr_input_device *wlr_input_device_create( +void wlr_input_device_init( + struct wlr_input_device *wlr_device, enum wlr_input_device_type type, struct wlr_input_device_impl *impl, - struct wlr_input_device_state *state, const char *name, int vendor, int product); void wlr_input_device_destroy(struct wlr_input_device *dev); -- cgit v1.2.3