aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-05-17 13:46:45 +0200
committerMarkus Ongyerth <ongy@ongy.net>2018-07-14 09:48:57 +0200
commit88a4b908d1e798a5276817c3f18d29d61298b7ba (patch)
tree5ffa9a3a6a15c41ce922a94b6ff0e52e3133b3da
parentfa39fd178dd276316c37b9a98e2bfd5e337d4da0 (diff)
Hide pad auxiliary data in .c file
-rw-r--r--include/types/wlr_tablet_v2.h6
-rw-r--r--types/tablet_v2/wlr_tablet_v2_pad.c5
2 files changed, 5 insertions, 6 deletions
diff --git a/include/types/wlr_tablet_v2.h b/include/types/wlr_tablet_v2.h
index ca776734..a59c014f 100644
--- a/include/types/wlr_tablet_v2.h
+++ b/include/types/wlr_tablet_v2.h
@@ -78,12 +78,6 @@ struct wlr_tablet_tool_client_v2 {
struct wl_event_source *frame_source;
};
-struct tablet_pad_auxiliary_user_data {
- struct wlr_tablet_pad_client_v2 *pad;
- size_t index;
-};
-
-
struct wlr_tablet_client_v2 *tablet_client_from_resource(struct wl_resource *resource);
void destroy_tablet_v2(struct wl_resource *resource);
void add_tablet_client(struct wlr_tablet_seat_client_v2 *seat, struct wlr_tablet_v2_tablet *tablet);
diff --git a/types/tablet_v2/wlr_tablet_v2_pad.c b/types/tablet_v2/wlr_tablet_v2_pad.c
index c3627ef6..4dc408d8 100644
--- a/types/tablet_v2/wlr_tablet_v2_pad.c
+++ b/types/tablet_v2/wlr_tablet_v2_pad.c
@@ -11,6 +11,11 @@
#include <wlr/types/wlr_tablet_v2.h>
#include <wlr/util/log.h>
+struct tablet_pad_auxiliary_user_data {
+ struct wlr_tablet_pad_client_v2 *pad;
+ size_t index;
+};
+
void destroy_tablet_pad_v2(struct wl_resource *resource) {
struct wlr_tablet_pad_client_v2 *pad =
tablet_pad_client_from_resource(resource);