diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-14 16:07:00 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-14 16:22:31 +0200 |
commit | ba20d5b3cae29a90b1d66c9d53f295a7c41c932e (patch) | |
tree | c1a6661f8e55666c33d8bec6d0d55e14df194339 /include/wlr/interfaces | |
parent | bd67849c03a13b2a12d35fb068d30eb0f8ea3cc9 (diff) |
Refactor out wlr_touch_state
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r-- | include/wlr/interfaces/wlr_touch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wlr/interfaces/wlr_touch.h b/include/wlr/interfaces/wlr_touch.h index d83ad558..b5fcef18 100644 --- a/include/wlr/interfaces/wlr_touch.h +++ b/include/wlr/interfaces/wlr_touch.h @@ -3,11 +3,11 @@ #include <wlr/types/wlr_touch.h> struct wlr_touch_impl { - void (*destroy)(struct wlr_touch_state *state); + void (*destroy)(struct wlr_touch *touch); }; -struct wlr_touch *wlr_touch_create(struct wlr_touch_impl *impl, - struct wlr_touch_state *state); +void wlr_touch_init(struct wlr_touch *touch, + struct wlr_touch_impl *impl); void wlr_touch_destroy(struct wlr_touch *touch); #endif |