aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-11 05:14:40 -0500
committerGitHub <noreply@github.com>2017-12-11 05:14:40 -0500
commit301850ec5d1a65aed87734583ed0868694f1913a (patch)
treeb5cc088bb7e6e97e1a9c43ee6d1a955b95bdd27d /include
parent8ccb5b0b6674999f83775cd583cc610a2e03fb54 (diff)
parent925497fbeaed9a2eb8420490e6cdfa4fd162e79e (diff)
Merge pull request #480 from emersion/default-cursor-image
Set default cursor image in rootston
Diffstat (limited to 'include')
-rw-r--r--include/rootston/config.h1
-rw-r--r--include/rootston/cursor.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index 233692dc..1d54314e 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -51,6 +51,7 @@ struct roots_cursor_config {
char *mapped_output;
struct wlr_box *mapped_box;
char *theme;
+ char *default_image;
struct wl_list link;
};
diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h
index 2d9a9215..de6b7b92 100644
--- a/include/rootston/cursor.h
+++ b/include/rootston/cursor.h
@@ -20,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)