aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-18 19:58:41 -0400
committerGitHub <noreply@github.com>2017-08-18 19:58:41 -0400
commit3674085faede2960581461cf8f40c33ffce85e7c (patch)
tree8c1dbe3574a00c4ee977507d5f11cd71d7419c7c /include/wlr
parent01d9eda702b3c3fc56b00ab63568ae2d43218515 (diff)
parentf334dcaf40799b82c102c8583f9f91c377321ee4 (diff)
Merge pull request #113 from acrisci/feature/rename-wlr-cursor
rename wlr_cursor to wlr_xcursor
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/xcursor.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/wlr/xcursor.h b/include/wlr/xcursor.h
index 1744fd92..ae07b4fa 100644
--- a/include/wlr/xcursor.h
+++ b/include/wlr/xcursor.h
@@ -31,7 +31,7 @@
#define _WLR_XCURSOR_H
#include <stdint.h>
-struct wlr_cursor_image {
+struct wlr_xcursor_image {
uint32_t width; /* actual width */
uint32_t height; /* actual height */
uint32_t hotspot_x; /* hot spot x (must be inside image) */
@@ -40,27 +40,27 @@ struct wlr_cursor_image {
uint8_t *buffer;
};
-struct wlr_cursor {
+struct wlr_xcursor {
unsigned int image_count;
- struct wlr_cursor_image **images;
+ struct wlr_xcursor_image **images;
char *name;
uint32_t total_delay; /* length of the animation in ms */
};
-struct wlr_cursor_theme {
+struct wlr_xcursor_theme {
unsigned int cursor_count;
- struct wlr_cursor **cursors;
+ struct wlr_xcursor **cursors;
char *name;
int size;
};
-struct wlr_cursor_theme *wlr_cursor_theme_load(const char *name, int size);
+struct wlr_xcursor_theme *wlr_xcursor_theme_load(const char *name, int size);
-void wlr_cursor_theme_destroy(struct wlr_cursor_theme *theme);
+void wlr_xcursor_theme_destroy(struct wlr_xcursor_theme *theme);
-struct wlr_cursor *wlr_cursor_theme_get_cursor(
- struct wlr_cursor_theme *theme, const char *name);
+struct wlr_xcursor *wlr_xcursor_theme_get_cursor(
+ struct wlr_xcursor_theme *theme, const char *name);
-int wlr_cursor_frame(struct wlr_cursor *cursor, uint32_t time);
+int wlr_xcursor_frame(struct wlr_xcursor *cursor, uint32_t time);
#endif