diff options
| author | emersion <contact@emersion.fr> | 2017-12-11 16:14:03 +0100 | 
|---|---|---|
| committer | emersion <contact@emersion.fr> | 2017-12-11 16:14:03 +0100 | 
| commit | c67a5824b8831b50e9f3b09cc182f496fb973321 (patch) | |
| tree | 0a4f6090819e680bcd611388c8cbe867fbb4983a /include/rootston | |
| parent | 6001235b0465ba1961f8abd66a860bcf1f14fc22 (diff) | |
| parent | 808ab5aa1bd990776ae30d5f9bb171ca7b42d6ef (diff) | |
| download | wlroots-c67a5824b8831b50e9f3b09cc182f496fb973321.tar.xz | |
Merge branch 'master' into display-destroy
Diffstat (limited to 'include/rootston')
| -rw-r--r-- | include/rootston/config.h | 2 | ||||
| -rw-r--r-- | include/rootston/cursor.h | 9 | ||||
| -rw-r--r-- | include/rootston/xcursor.h | 4 | 
3 files changed, 5 insertions, 10 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h index de20fb8e..1d54314e 100644 --- a/include/rootston/config.h +++ b/include/rootston/config.h @@ -42,6 +42,7 @@ struct roots_keyboard_config {  	char *layout;  	char *variant;  	char *options; +	int repeat_rate, repeat_delay;  	struct wl_list link;  }; @@ -50,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 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) diff --git a/include/rootston/xcursor.h b/include/rootston/xcursor.h index bc00f79c..a7d2b960 100644 --- a/include/rootston/xcursor.h +++ b/include/rootston/xcursor.h @@ -3,12 +3,10 @@  #include <stdint.h> -#define ROOTS_XCURSOR_SIZE 16 +#define ROOTS_XCURSOR_SIZE 24  #define ROOTS_XCURSOR_DEFAULT "left_ptr"  #define ROOTS_XCURSOR_MOVE "grabbing"  #define ROOTS_XCURSOR_ROTATE "grabbing" -const char *roots_xcursor_get_resize_name(uint32_t edges); -  #endif  | 
