diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-27 14:57:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-07-03 12:36:32 +0000 |
| commit | ee794a121e4603d01fb662ad6d1f3b18b6937d2c (patch) | |
| tree | 704298b5e68dece52429d14237d6a857764cbbdb /input.h | |
| parent | wayland: handle enum value XDG_TOPLEVEL_STATE_SUSPENDED (diff) | |
refactor: track current xcursor using an enum, instead of a char pointer
Diffstat (limited to 'input.h')
| -rw-r--r-- | input.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,8 +3,9 @@ #include <stdint.h> #include <wayland-client.h> -#include "wayland.h" +#include "cursor-shape.h" #include "misc.h" +#include "wayland.h" /* * Custom defines for mouse wheel left/right buttons. @@ -33,4 +34,4 @@ void get_current_modifiers(const struct seat *seat, xkb_mod_mask_t *consumed, uint32_t key); -const char *xcursor_for_csd_border(struct terminal *term, int x, int y); +enum cursor_shape xcursor_for_csd_border(struct terminal *term, int x, int y); |
