From 41bf1c6871a2bf9dc91863b9c5b8369ccaaffc61 Mon Sep 17 00:00:00 2001 From: Mykola Orliuk Date: Sun, 18 Oct 2020 19:12:01 +0200 Subject: backend/wayland: add error flow in create_wl_seat --- include/backend/wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 61b349a5..d782584f 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -121,7 +121,7 @@ void create_wl_keyboard(struct wl_keyboard *wl_keyboard, struct wlr_wl_backend * void create_wl_touch(struct wl_touch *wl_touch, struct wlr_wl_backend *wl); struct wlr_wl_input_device *create_wl_input_device( struct wlr_wl_backend *backend, enum wlr_input_device_type type); -void create_wl_seat(struct wl_seat *wl_seat, struct wlr_wl_backend *wl); +bool create_wl_seat(struct wl_seat *wl_seat, struct wlr_wl_backend *wl); void destroy_wl_seats(struct wlr_wl_backend *wl); extern const struct wl_seat_listener seat_listener; -- cgit v1.2.3