diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-14 10:33:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 10:33:46 -0400 |
commit | 53052b3f6e457f35d46fc3a71bd7eac96e55a484 (patch) | |
tree | c51bfcd472cf38df7528eab9330bb0e44981ffbb /include/backend/libinput.h | |
parent | 1e1e9887fba15291256a806aca6cc6f94a8f671e (diff) | |
parent | e922e62924314866620cce662756ff09c8092cc2 (diff) |
Merge pull request #85 from martinetd/refactor_states
Refactor states
Diffstat (limited to 'include/backend/libinput.h')
-rw-r--r-- | include/backend/libinput.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h index 3ff714c2..e0f762a7 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -2,6 +2,7 @@ #define _WLR_BACKEND_LIBINPUT_INTERNAL_H #include <libinput.h> #include <wayland-server-core.h> +#include <wlr/types/wlr_input_device.h> #include <wlr/backend/interface.h> #include <wlr/interfaces/wlr_input_device.h> #include <wlr/util/list.h> @@ -22,7 +23,9 @@ struct wlr_libinput_backend { list_t *wlr_device_lists; }; -struct wlr_input_device_state { +struct wlr_libinput_input_device { + struct wlr_input_device wlr_input_device; + struct libinput_device *handle; }; |