mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -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
14
terminal.h
14
terminal.h
|
|
@ -718,20 +718,6 @@ struct terminal {
|
|||
char *cwd;
|
||||
};
|
||||
|
||||
extern const char *const XCURSOR_HIDDEN;
|
||||
extern const char *const XCURSOR_LEFT_PTR;
|
||||
extern const char *const XCURSOR_TEXT;
|
||||
extern const char *const XCURSOR_TEXT_FALLBACK;
|
||||
//extern const char *const XCURSOR_HAND2;
|
||||
extern const char *const XCURSOR_TOP_LEFT_CORNER;
|
||||
extern const char *const XCURSOR_TOP_RIGHT_CORNER;
|
||||
extern const char *const XCURSOR_BOTTOM_LEFT_CORNER;
|
||||
extern const char *const XCURSOR_BOTTOM_RIGHT_CORNER;
|
||||
extern const char *const XCURSOR_LEFT_SIDE;
|
||||
extern const char *const XCURSOR_RIGHT_SIDE;
|
||||
extern const char *const XCURSOR_TOP_SIDE;
|
||||
extern const char *const XCURSOR_BOTTOM_SIDE;
|
||||
|
||||
struct config;
|
||||
struct terminal *term_init(
|
||||
const struct config *conf, struct fdm *fdm, struct reaper *reaper,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue