diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-12 17:10:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-12 17:10:11 -0500 |
commit | 855c117efdab06bd232a3f0d6e81d7288a0551ed (patch) | |
tree | ad2aa347b862cc7446a1cc80f5932847e1491fbe /include/rootston/xcursor.h | |
parent | a317ecdab8ef8deb184b72db208794daa4c4a3a0 (diff) | |
parent | f8b43940b1a14e78c5365c9c1d17bfc79f523530 (diff) |
Merge pull request #412 from emersion/cursor-scale
Scale cursors on scaled outputs
Diffstat (limited to 'include/rootston/xcursor.h')
-rw-r--r-- | include/rootston/xcursor.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/rootston/xcursor.h b/include/rootston/xcursor.h index c96e50ef..bc00f79c 100644 --- a/include/rootston/xcursor.h +++ b/include/rootston/xcursor.h @@ -1,15 +1,14 @@ #ifndef _ROOTSTON_XCURSOR_H #define _ROOTSTON_XCURSOR_H -#include <wlr/xcursor.h> +#include <stdint.h> -struct wlr_xcursor *get_default_xcursor(struct wlr_xcursor_theme *theme); +#define ROOTS_XCURSOR_SIZE 16 -struct wlr_xcursor *get_move_xcursor(struct wlr_xcursor_theme *theme); +#define ROOTS_XCURSOR_DEFAULT "left_ptr" +#define ROOTS_XCURSOR_MOVE "grabbing" +#define ROOTS_XCURSOR_ROTATE "grabbing" -struct wlr_xcursor *get_resize_xcursor(struct wlr_xcursor_theme *theme, - uint32_t edges); - -struct wlr_xcursor *get_rotate_xcursor(struct wlr_xcursor_theme *theme); +const char *roots_xcursor_get_resize_name(uint32_t edges); #endif |