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 /wayland.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 'wayland.h')
| -rw-r--r-- | wayland.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |
