mirror of
https://github.com/swaywm/sway.git
synced 2026-04-19 06:46:40 -04:00
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>
This commit is contained in:
parent
5e18ed3cf0
commit
44a2cff3b3
9 changed files with 205 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ struct sway_container *container_find_resize_parent(struct sway_container *con,
|
|||
sway_cmd cmd_exec_validate;
|
||||
sway_cmd cmd_exec_process;
|
||||
|
||||
sway_cmd cmd_action;
|
||||
sway_cmd cmd_assign;
|
||||
sway_cmd cmd_bar;
|
||||
sway_cmd cmd_bindcode;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue