aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-04-13 17:03:17 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-04-13 17:03:17 +0200
commit68e408d22646c4d2a093029a907341d2943c5866 (patch)
tree7d6dd77b6d918fa8396dc619f62bd31c60239cc9 /wayland.h
parent4ed0d0fe018adea8ef2f7f1308c38e8e9c2873a7 (diff)
set cursor position to "text"
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 7cbbc90..d5557a9 100644
--- a/wayland.h
+++ b/wayland.h
@@ -4,6 +4,7 @@
#include <xkbcommon/xkbcommon.h>
#include <xkbcommon/xkbcommon-keysyms.h>
#include <wayland-client.h>
+#include <wayland-cursor.h>
#include "xdg-shell-client-protocol.h"
typedef enum {
@@ -51,6 +52,11 @@ typedef struct {
} kb;
struct {
struct wl_pointer *pointer;
+ struct wl_cursor *cursor;
+ struct wl_cursor_theme *theme;
+ struct wl_buffer *buffer;
+ struct wl_surface *surface;
+ struct wl_cursor_image *image;
struct {
uint32_t x;
uint32_t y;