@ -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 ;
@ -51,7 +52,7 @@ static void handle_tablet_pad_ring_v2_set_feedback(struct wl_client *client,
. 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 ,
@ -89,7 +90,7 @@ static void handle_tablet_pad_strip_v2_set_feedback(struct wl_client *client,
. 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 ,
@ -116,7 +117,7 @@ static void handle_tablet_pad_v2_set_feedback( struct wl_client *client,
. 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 = {