refactor: track current xcursor using an enum, instead of a char pointer

This commit is contained in:
Daniel Eklöf 2023-06-27 16:57:33 +02:00
parent 72bc0acfbd
commit ee794a121e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
10 changed files with 93 additions and 62 deletions

View file

@ -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;