aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-03 22:00:01 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-03 22:41:30 +0100
commit3d7492f9075582a29d450a8934e3e0aeb7412fee (patch)
treeec5c0d65784c163961e3f2f990d619df9d94f4b7 /types
parentd1b979d9bd858c45e9ee23a418a390e0ea4ed0cc (diff)
types/wlr-action-binder: update protocolmaster
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'types')
-rw-r--r--types/wlr_action_binder_v1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/types/wlr_action_binder_v1.c b/types/wlr_action_binder_v1.c
index f5eebacb..3c8b0c30 100644
--- a/types/wlr_action_binder_v1.c
+++ b/types/wlr_action_binder_v1.c
@@ -211,7 +211,7 @@ static void action_binder_create_binding(struct wl_client *client,
&ext_action_binding_v1_implementation, bind, action_binding_destroy);
}
-static void action_binder_bind_actions(struct wl_client *client, struct wl_resource *resource) {
+static void action_binder_commit(struct wl_client *client, struct wl_resource *resource) {
struct wlr_action_binder_v1_state *state = wlr_action_binder_v1_state_from_resource(resource);
struct wlr_action_binding_v1 *binding = NULL;
@@ -224,12 +224,12 @@ static void action_binder_bind_actions(struct wl_client *client, struct wl_resou
}
}
- wl_signal_emit(&state->binder->events.bind, NULL);
+ wl_signal_emit_mutable(&state->binder->events.bind, state);
}
static const struct ext_action_binder_v1_interface ext_action_binder_v1_implementation = {
.create_binding = action_binder_create_binding,
- .bind = action_binder_bind_actions,
+ .commit = action_binder_commit,
.destroy = resource_handle_destroy,
};