mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
libinput
This commit is contained in:
parent
fe241126bb
commit
28081b7689
16 changed files with 727 additions and 3 deletions
|
|
@ -87,6 +87,8 @@ int main(int argc, char **argv) {
|
|||
type = IPC_COMMAND;
|
||||
} else if (strcasecmp(cmdtype, "get_workspaces") == 0) {
|
||||
type = IPC_GET_WORKSPACES;
|
||||
} else if (strcasecmp(cmdtype, "get_inputs") == 0) {
|
||||
type = IPC_GET_INPUTS;
|
||||
} else if (strcasecmp(cmdtype, "get_outputs") == 0) {
|
||||
type = IPC_GET_OUTPUTS;
|
||||
} else if (strcasecmp(cmdtype, "get_tree") == 0) {
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@ IPC Message Types
|
|||
*get_workspaces*::
|
||||
Gets a JSON-encoded list of workspaces and their status.
|
||||
|
||||
*get_inputs*::
|
||||
Gets a JSON-encoded list of current inputs.
|
||||
|
||||
*get_outputs*::
|
||||
Gets a JSON-encoded list of current outputs.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue