From 2001441a370f673e8a46a1c172c5fc48df106750 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Tue, 8 Mar 2022 15:20:56 -0500 Subject: backend/wayland: remove wl_seat_listener from public API --- backend/wayland/seat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/wayland/seat.c b/backend/wayland/seat.c index 768c4083..7d16d7d4 100644 --- a/backend/wayland/seat.c +++ b/backend/wayland/seat.c @@ -222,6 +222,8 @@ static void init_seat_touch(struct wlr_wl_seat *seat) { &seat->wlr_touch.base); } +static const struct wl_seat_listener seat_listener; + bool create_wl_seat(struct wl_seat *wl_seat, struct wlr_wl_backend *wl) { struct wlr_wl_seat *seat = calloc(1, sizeof(struct wlr_wl_seat)); if (!seat) { @@ -336,7 +338,7 @@ static void seat_handle_name(void *data, struct wl_seat *wl_seat, seat->name = strdup(name); } -const struct wl_seat_listener seat_listener = { +static const struct wl_seat_listener seat_listener = { .capabilities = seat_handle_capabilities, .name = seat_handle_name, }; -- cgit v1.2.3