diff options
author | Scott Anderson <ascent12@hotmail.com> | 2018-02-19 14:26:40 +1300 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2018-02-19 14:26:40 +1300 |
commit | 86269052eb7be715eba274dffc30c77c11b8309c (patch) | |
tree | 8291d0ee15c75499ad884f629fd630c54f46b8ce /backend/libinput/backend.c | |
parent | f27c0b44b882f7a837906e5b3376ad035cb51445 (diff) |
Explicitly export EFL symbols
Diffstat (limited to 'backend/libinput/backend.c')
-rw-r--r-- | backend/libinput/backend.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index e2a1165f..41a04a27 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -5,6 +5,7 @@ #include <wlr/backend/session.h> #include <wlr/util/log.h> #include "backend/libinput.h" +#include "util/defs.h" #include "util/signal.h" static int wlr_libinput_open_restricted(const char *path, @@ -128,6 +129,7 @@ static struct wlr_backend_impl backend_impl = { .destroy = wlr_libinput_backend_destroy }; +WLR_API bool wlr_backend_is_libinput(struct wlr_backend *b) { return b->impl == &backend_impl; } @@ -154,6 +156,7 @@ static void handle_display_destroy(struct wl_listener *listener, void *data) { wlr_libinput_backend_destroy(&backend->backend); } +WLR_API struct wlr_backend *wlr_libinput_backend_create(struct wl_display *display, struct wlr_session *session) { assert(display && session); @@ -185,6 +188,7 @@ error_backend: return NULL; } +WLR_API struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device *_dev) { struct wlr_libinput_input_device *dev = (struct wlr_libinput_input_device *)_dev; return dev->handle; |