aboutsummaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-06-27 14:57:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-03 12:36:32 +0000
commitee794a121e4603d01fb662ad6d1f3b18b6937d2c (patch)
tree704298b5e68dece52429d14237d6a857764cbbdb /input.h
parentwayland: 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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/input.h b/input.h
index ea488a86..825dc3be 100644
--- a/input.h
+++ b/input.h
@@ -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);