diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-10 12:21:54 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-13 08:10:36 -0400 |
commit | 7a5f35b5bb2a30e46defe9ea1bd610cb06df95e8 (patch) | |
tree | 5d3f0990f8ce6c14f1421e2a292a47ee98e730a5 /include/backend | |
parent | f479b7c8c7aa93229c46287f774a30ac8324da1e (diff) |
Reassign ownership of libinput handle
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/libinput.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h index a59ab401..f6622695 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -19,6 +19,10 @@ struct wlr_backend_state { list_t *keyboards; }; +struct wlr_input_device_state { + struct libinput_device *handle; +}; + void wlr_libinput_event(struct wlr_backend_state *state, struct libinput_event *event); @@ -26,10 +30,6 @@ struct wlr_input_device *get_appropriate_device( enum wlr_input_device_type desired_type, struct libinput_device *device); -struct wlr_keyboard_state { - struct libinput_device *handle; -}; - void handle_keyboard_key(struct libinput_event *event, struct libinput_device *device); struct wlr_keyboard *wlr_libinput_keyboard_create( |