forked from external/yambar
modules/i3-common: add support for sway's IPC_GET_INPUTS
This commit is contained in:
parent
e710152248
commit
db211de70c
2 changed files with 5 additions and 0 deletions
|
@ -258,6 +258,10 @@ i3_receive_loop(int abort_fd, int sock,
|
|||
pkt_handler = cbs->reply_sync;
|
||||
break;
|
||||
#endif
|
||||
/* Sway extensions */
|
||||
case 100: /* IPC_GET_INPUTS */
|
||||
pkt_handler = cbs->reply_inputs;
|
||||
break;
|
||||
|
||||
case I3_IPC_EVENT_WORKSPACE:
|
||||
pkt_handler = cbs->event_workspace;
|
||||
|
|
|
@ -29,6 +29,7 @@ struct i3_ipc_callbacks {
|
|||
i3_ipc_callback_t reply_config;
|
||||
i3_ipc_callback_t reply_tick;
|
||||
i3_ipc_callback_t reply_sync;
|
||||
i3_ipc_callback_t reply_inputs;
|
||||
|
||||
i3_ipc_callback_t event_workspace;
|
||||
i3_ipc_callback_t event_output;
|
||||
|
|
Loading…
Add table
Reference in a new issue