input-device: add addons

This commit is contained in:
Kirill Primak 2023-01-18 02:07:57 +03:00
parent f1762f428b
commit 179d6efb19
2 changed files with 6 additions and 0 deletions

View file

@ -10,6 +10,7 @@
#define WLR_TYPES_WLR_INPUT_DEVICE_H
#include <wayland-server-core.h>
#include <wlr/util/addon.h>
enum wlr_button_state {
WLR_BUTTON_RELEASED,
@ -34,6 +35,8 @@ struct wlr_input_device {
struct wl_signal destroy;
} events;
struct wlr_addon_set addons;
void *data;
};