aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-08 06:08:06 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-08 06:08:06 -0500
commit4c60072be584a7ed5b97de325994217a9e96bbd4 (patch)
tree96bf5e33d9c5d95842ba7813f5e37c28693d52ae /include
parent31bafc24614cb5a66348ca965f1b4fae9209e35c (diff)
move get_resize_name to xcursor
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_xcursor_manager.h7
-rw-r--r--include/wlr/xcursor.h6
2 files changed, 6 insertions, 7 deletions
diff --git a/include/wlr/types/wlr_xcursor_manager.h b/include/wlr/types/wlr_xcursor_manager.h
index 63eb5386..c78a6e8d 100644
--- a/include/wlr/types/wlr_xcursor_manager.h
+++ b/include/wlr/types/wlr_xcursor_manager.h
@@ -4,7 +4,6 @@
#include <wayland-server.h>
#include <wlr/types/wlr_cursor.h>
#include <wlr/xcursor.h>
-#include <wlr/util/edges.h>
/**
* A scaled XCursor theme.
@@ -51,10 +50,4 @@ struct wlr_xcursor *wlr_xcursor_manager_get_xcursor(
void wlr_xcursor_manager_set_cursor_image(struct wlr_xcursor_manager *manager,
const char *name, struct wlr_cursor *cursor);
-/**
- * Get the name of the cursor image for the given edges.
- */
-const char *wlr_xcursor_manager_get_resize_name(enum wlr_edges edges);
-
-
#endif
diff --git a/include/wlr/xcursor.h b/include/wlr/xcursor.h
index b6362b06..42fcedb9 100644
--- a/include/wlr/xcursor.h
+++ b/include/wlr/xcursor.h
@@ -32,6 +32,7 @@
#define WLR_XCURSOR_H
#include <stdint.h>
+#include <wlr/util/edges.h>
struct wlr_xcursor_image {
uint32_t width; /* actual width */
@@ -65,4 +66,9 @@ struct wlr_xcursor *wlr_xcursor_theme_get_cursor(
int wlr_xcursor_frame(struct wlr_xcursor *cursor, uint32_t time);
+/**
+ * Get the name of the resize cursor image for the given edges.
+ */
+const char *wlr_xcursor_get_resize_name(enum wlr_edges edges);
+
#endif