mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05: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
5
input.h
5
input.h
|
|
@ -3,8 +3,9 @@
|
|||
#include <stdint.h>
|
||||
#include <wayland-client.h>
|
||||
|
||||
#include "wayland.h"
|
||||
#include "cursor-shape.h"
|
||||
#include "misc.h"
|
||||
#include "wayland.h"
|
||||
|
||||
/*
|
||||
* Custom defines for mouse wheel left/right buttons.
|
||||
|
|
@ -33,4 +34,4 @@ void get_current_modifiers(const struct seat *seat,
|
|||
xkb_mod_mask_t *consumed,
|
||||
uint32_t key);
|
||||
|
||||
const char *xcursor_for_csd_border(struct terminal *term, int x, int y);
|
||||
enum cursor_shape xcursor_for_csd_border(struct terminal *term, int x, int y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue