aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-01 10:09:35 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-01 10:35:39 -0400
commit5888c96da8f76a439ca7c2d2743f0c19a7104d2c (patch)
tree6ab611defd8a0f6698eb856e2a64cf99dc4c164e /include
parente6cb11d8825c740f6c50e2d04965e86281b83da9 (diff)
tablet: stop using wlr_list
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_tablet_pad.h3
-rw-r--r--include/wlr/types/wlr_tablet_tool.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_tablet_pad.h b/include/wlr/types/wlr_tablet_pad.h
index 255fa89e..6cd1b70e 100644
--- a/include/wlr/types/wlr_tablet_pad.h
+++ b/include/wlr/types/wlr_tablet_pad.h
@@ -12,7 +12,6 @@
#include <stdint.h>
#include <wayland-server-core.h>
#include <wlr/types/wlr_input_device.h>
-#include <wlr/types/wlr_list.h>
/*
* NOTE: the wlr tablet pad implementation does not currently support tablets
@@ -37,7 +36,7 @@ struct wlr_tablet_pad {
size_t strip_count;
struct wl_list groups; // wlr_tablet_pad_group::link
- struct wlr_list paths; // char *
+ struct wl_array paths; // char *
void *data;
};
diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h
index 9dbf6ffb..75fc1ee8 100644
--- a/include/wlr/types/wlr_tablet_tool.h
+++ b/include/wlr/types/wlr_tablet_tool.h
@@ -12,7 +12,6 @@
#include <stdint.h>
#include <wayland-server-core.h>
#include <wlr/types/wlr_input_device.h>
-#include <wlr/types/wlr_list.h>
/*
* Copy+Paste from libinput, but this should neither use libinput, nor
@@ -71,7 +70,7 @@ struct wlr_tablet {
} events;
char *name;
- struct wlr_list paths; // char *
+ struct wl_array paths; // char *
void *data;
};