cursor: use CONNECT_SIGNAL macro

Rename functions accordingly.
This commit is contained in:
Jens Peters 2025-04-15 21:43:00 +02:00 committed by Hiroaki Yamamoto
parent 9af441ecd3
commit cec2e03954
2 changed files with 44 additions and 60 deletions

View file

@ -177,11 +177,13 @@ struct seat {
struct wl_listener new_input;
struct wl_listener focus_change;
struct wl_listener cursor_motion;
struct wl_listener cursor_motion_absolute;
struct wl_listener cursor_button;
struct wl_listener cursor_axis;
struct wl_listener cursor_frame;
struct {
struct wl_listener motion;
struct wl_listener motion_absolute;
struct wl_listener button;
struct wl_listener axis;
struct wl_listener frame;
} on_cursor;
struct wlr_pointer_gestures_v1 *pointer_gestures;
struct wl_listener pinch_begin;
@ -193,7 +195,7 @@ struct seat {
struct wl_listener hold_begin;
struct wl_listener hold_end;
struct wl_listener request_cursor;
struct wl_listener request_set_cursor;
struct wl_listener request_set_shape;
struct wl_listener request_set_selection;
struct wl_listener request_set_primary_selection;