diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-10-09 22:05:05 +0100 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-03-01 21:44:52 +0100 |
commit | 44a2cff3b309f181848b535857b80e2e4e7891e1 (patch) | |
tree | 4bf19210814e8b6957f620a6f8a78c2df163082a /include/sway/server.h | |
parent | 5e18ed3cf03eee9e83909fede46dd98dff652647 (diff) |
ext-action-binder-v1: implement new protocol
and add a new command to trigger actions.
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index b2eb2c36..39a8f557 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -113,6 +113,11 @@ struct sway_server { struct wl_listener request_set_cursor_shape; + struct wlr_action_binder_v1 *action_binder; + struct wl_listener action_binder_bind; + struct wl_listener action_binder_unbind; + struct wl_listener action_binder_destroy; + struct wl_list pending_launcher_ctxs; // launcher_ctx::link // The timeout for transactions, after which a transaction is applied @@ -174,6 +179,9 @@ void xdg_activation_v1_handle_request_activate(struct wl_listener *listener, void *data); void xdg_activation_v1_handle_new_token(struct wl_listener *listener, void *data); +void action_binder_v1_bind(struct wl_listener *listener, void *data); +void action_binder_v1_unbind(struct wl_listener *listener, void *data); +void action_binder_v1_delete(struct wl_listener *listener, void *data); void set_rr_scheduling(void); |