chase: use wayland pointer enums rather than wlr ones

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4575
This commit is contained in:
Consolatis 2024-03-19 01:32:05 +01:00 committed by Johan Malm
parent d8d45dc2cb
commit 5c6e1ed878
6 changed files with 25 additions and 17 deletions

View file

@ -11,7 +11,7 @@ struct seat;
struct server;
struct wlr_surface;
struct wlr_scene_node;
enum wlr_button_state;
enum wl_pointer_button_state;
/* Cursors used internally by labwc */
enum lab_cursors {
@ -150,7 +150,7 @@ void cursor_emulate_move_absolute(struct seat *seat,
struct wlr_input_device *device,
double x, double y, uint32_t time_msec);
void cursor_emulate_button(struct seat *seat,
uint32_t button, enum wlr_button_state state, uint32_t time_msec);
uint32_t button, enum wl_pointer_button_state state, uint32_t time_msec);
void cursor_finish(struct seat *seat);
#endif /* LABWC_CURSOR_H */