aboutsummaryrefslogtreecommitdiff
path: root/wayland.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 /wayland.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 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index e2d22031..af1bcb3f 100644
--- a/wayland.h
+++ b/wayland.h
@@ -28,6 +28,7 @@
#include <fcft/fcft.h>
#include <tllist.h>
+#include "cursor-shape.h"
#include "fdm.h"
/* Forward declarations */
@@ -151,7 +152,7 @@ struct seat {
float scale;
bool hidden;
- const char *xcursor;
+ enum cursor_shape shape;
struct wl_callback *xcursor_callback;
bool xcursor_pending;
} pointer;