aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/cursor.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-14 20:31:18 +0100
committeremersion <contact@emersion.fr>2017-12-14 20:31:18 +0100
commit466e86b7b2cbefa55ad5b85a97ee8257c24cb81b (patch)
treecc1691ec5abefdffcb8ac6312574ffa03bc4049a /include/rootston/cursor.h
parenteb763439f75d3c9174280d0c75ef44941dd99340 (diff)
parenta9fb071d49b244b72846b384a9e2ef2d9b03a05f (diff)
Merge branch 'master' into surface-transform
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)