mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Refactor out wlr_input_device_state
This commit is contained in:
parent
1e1e9887fb
commit
e6ad67911b
8 changed files with 49 additions and 47 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue