aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/cursor.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-11 16:14:03 +0100
committeremersion <contact@emersion.fr>2017-12-11 16:14:03 +0100
commitc67a5824b8831b50e9f3b09cc182f496fb973321 (patch)
tree0a4f6090819e680bcd611388c8cbe867fbb4983a /include/rootston/cursor.h
parent6001235b0465ba1961f8abd66a860bcf1f14fc22 (diff)
parent808ab5aa1bd990776ae30d5f9bb171ca7b42d6ef (diff)
Merge branch 'master' into display-destroy
Diffstat (limited to 'include/rootston/cursor.h')
-rw-r--r--include/rootston/cursor.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h
index e2a371bf..de6b7b92 100644
--- a/include/rootston/cursor.h
+++ b/include/rootston/cursor.h
@@ -10,13 +10,6 @@ enum roots_cursor_mode {
ROOTS_CURSOR_ROTATE = 3,
};
-enum roots_cursor_resize_edge {
- ROOTS_CURSOR_RESIZE_EDGE_TOP = 1,
- ROOTS_CURSOR_RESIZE_EDGE_BOTTOM = 2,
- ROOTS_CURSOR_RESIZE_EDGE_LEFT = 4,
- ROOTS_CURSOR_RESIZE_EDGE_RIGHT = 8,
-};
-
struct roots_input_event {
uint32_t serial;
struct wlr_cursor *cursor;
@@ -27,6 +20,8 @@ struct roots_cursor {
struct roots_seat *seat;
struct wlr_cursor *cursor;
+ const char *default_xcursor;
+
enum roots_cursor_mode mode;
// state from input (review if this is necessary)