aboutsummaryrefslogtreecommitdiff
path: root/xcursor/wlr_xcursor.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-19 18:10:24 -0500
committerGitHub <noreply@github.com>2018-02-19 18:10:24 -0500
commitc4fb9651445bb7302a904b05583c064ff09cb48e (patch)
tree266f8d4438350bbaa56567f5553ca441e5d4f1be /xcursor/wlr_xcursor.c
parent09cfa39392bd049225b1be7590cd099131472bf2 (diff)
parent1d9be89e2d62316690ed211e50b79f2bec38e00f (diff)
Merge pull request #651 from swaywm/revert-647-elf_visibility
Revert "ELF Visibility"
Diffstat (limited to 'xcursor/wlr_xcursor.c')
-rw-r--r--xcursor/wlr_xcursor.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xcursor/wlr_xcursor.c b/xcursor/wlr_xcursor.c
index 2366ba24..7fcdbb6f 100644
--- a/xcursor/wlr_xcursor.c
+++ b/xcursor/wlr_xcursor.c
@@ -30,7 +30,6 @@
#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) {
@@ -213,7 +212,6 @@ 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;
@@ -257,7 +255,6 @@ out_error_name:
return NULL;
}
-WLR_API
void wlr_xcursor_theme_destroy(struct wlr_xcursor_theme *theme) {
unsigned int i;
@@ -270,7 +267,6 @@ 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;
@@ -326,12 +322,10 @@ 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) {