aboutsummaryrefslogtreecommitdiff
path: root/xcursor
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2018-02-19 14:26:40 +1300
committerScott Anderson <ascent12@hotmail.com>2018-02-19 14:26:40 +1300
commit86269052eb7be715eba274dffc30c77c11b8309c (patch)
tree8291d0ee15c75499ad884f629fd630c54f46b8ce /xcursor
parentf27c0b44b882f7a837906e5b3376ad035cb51445 (diff)
Explicitly export EFL symbols
Diffstat (limited to 'xcursor')
-rw-r--r--xcursor/wlr_xcursor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xcursor/wlr_xcursor.c b/xcursor/wlr_xcursor.c
index 7fcdbb6f..2366ba24 100644
--- a/xcursor/wlr_xcursor.c
+++ b/xcursor/wlr_xcursor.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <wlr/util/log.h>
#include <wlr/xcursor.h>
+#include "util/defs.h"
#include "xcursor/xcursor.h"
static void wlr_xcursor_destroy(struct wlr_xcursor *cursor) {
@@ -212,6 +213,7 @@ static void load_callback(XcursorImages *images, void *data) {
XcursorImagesDestroy(images);
}
+WLR_API
struct wlr_xcursor_theme *wlr_xcursor_theme_load(const char *name, int size) {
struct wlr_xcursor_theme *theme;
@@ -255,6 +257,7 @@ out_error_name:
return NULL;
}
+WLR_API
void wlr_xcursor_theme_destroy(struct wlr_xcursor_theme *theme) {
unsigned int i;
@@ -267,6 +270,7 @@ void wlr_xcursor_theme_destroy(struct wlr_xcursor_theme *theme) {
free(theme);
}
+WLR_API
struct wlr_xcursor *wlr_xcursor_theme_get_cursor(struct wlr_xcursor_theme *theme,
const char *name) {
unsigned int i;
@@ -322,10 +326,12 @@ static int wlr_xcursor_frame_and_duration(struct wlr_xcursor *cursor,
return i;
}
+WLR_API
int wlr_xcursor_frame(struct wlr_xcursor *_cursor, uint32_t time) {
return wlr_xcursor_frame_and_duration(_cursor, time, NULL);
}
+WLR_API
const char *wlr_xcursor_get_resize_name(enum wlr_edges edges) {
if (edges & WLR_EDGE_TOP) {
if (edges & WLR_EDGE_RIGHT) {