@ -2,7 +2,6 @@
# define _POSIX_C_SOURCE 200809L
# endif
# include "tablet-unstable-v2-protocol.h"
# include <assert.h>
# include <stdlib.h>
# include <types/wlr_tablet_v2.h>
@ -12,6 +11,8 @@
# include <wlr/types/wlr_tablet_pad.h>
# include <wlr/types/wlr_tablet_v2.h>
# include <wlr/util/log.h>
# include "util/signal.h"
# include "tablet-unstable-v2-protocol.h"
static const struct wlr_tablet_pad_v2_grab_interface default_pad_grab_interface ;
@ -49,9 +50,9 @@ static void handle_tablet_pad_ring_v2_set_feedback(struct wl_client *client,
. serial = serial ,
. description = description ,
. index = aux - > index
} ;
} ;
wl _signal_emit( & aux - > pad - > pad - > events . ring_feedback , & evt ) ;
wl r _signal_emit_safe ( & aux - > pad - > pad - > events . ring_feedback , & evt ) ;
}
static void handle_tablet_pad_ring_v2_destroy ( struct wl_client * client ,
@ -87,9 +88,9 @@ static void handle_tablet_pad_strip_v2_set_feedback(struct wl_client *client,
. serial = serial ,
. description = description ,
. index = aux - > index
} ;
} ;
wl _signal_emit( & aux - > pad - > pad - > events . strip_feedback , & evt ) ;
wl r _signal_emit_safe ( & aux - > pad - > pad - > events . strip_feedback , & evt ) ;
}
static void handle_tablet_pad_strip_v2_destroy ( struct wl_client * client ,
@ -114,9 +115,9 @@ static void handle_tablet_pad_v2_set_feedback( struct wl_client *client,
. serial = serial ,
. index = button ,
. description = description ,
} ;
} ;
wl _signal_emit( & pad - > pad - > events . button_feedback , & evt ) ;
wl r _signal_emit_safe ( & pad - > pad - > events . button_feedback , & evt ) ;
}
static const struct zwp_tablet_pad_v2_interface tablet_pad_impl = {