mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-09 08:21:01 -04:00
refactor: track current xcursor using an enum, instead of a char pointer
This commit is contained in:
parent
72bc0acfbd
commit
ee794a121e
10 changed files with 93 additions and 62 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue