aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/ipc-json.h
diff options
context:
space:
mode:
authorLibravatar Alex Maese <memaese@hotmail.com>2022-06-09 18:51:15 -0500
committerLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2022-09-19 07:26:45 -0400
commit52f0e3a4d5bc5900df821b82a2c6941f57eaca25 (patch)
tree973d60e0f2d0d5ad7fe63aa1b38e549987c6d11a /include/sway/ipc-json.h
parentsway: Add non-desktop-output type (diff)
downloadsway-52f0e3a4d5bc5900df821b82a2c6941f57eaca25.tar.gz
sway-52f0e3a4d5bc5900df821b82a2c6941f57eaca25.tar.zst
sway-52f0e3a4d5bc5900df821b82a2c6941f57eaca25.zip
sway: add non-desktop outputs to json when running `swaymsg -t get_outputs`
Diffstat (limited to 'include/sway/ipc-json.h')
-rw-r--r--include/sway/ipc-json.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/ipc-json.h b/include/sway/ipc-json.h
index 6f4ade1a..bc9f4985 100644
--- a/include/sway/ipc-json.h
+++ b/include/sway/ipc-json.h
@@ -1,6 +1,7 @@
1#ifndef _SWAY_IPC_JSON_H 1#ifndef _SWAY_IPC_JSON_H
2#define _SWAY_IPC_JSON_H 2#define _SWAY_IPC_JSON_H
3#include <json.h> 3#include <json.h>
4#include "sway/output.h"
4#include "sway/tree/container.h" 5#include "sway/tree/container.h"
5#include "sway/input/input-manager.h" 6#include "sway/input/input-manager.h"
6 7
@@ -9,6 +10,7 @@ json_object *ipc_json_get_version(void);
9json_object *ipc_json_get_binding_mode(void); 10json_object *ipc_json_get_binding_mode(void);
10 11
11json_object *ipc_json_describe_disabled_output(struct sway_output *o); 12json_object *ipc_json_describe_disabled_output(struct sway_output *o);
13json_object *ipc_json_describe_non_desktop_output(struct sway_output_non_desktop *o);
12json_object *ipc_json_describe_node(struct sway_node *node); 14json_object *ipc_json_describe_node(struct sway_node *node);
13json_object *ipc_json_describe_node_recursive(struct sway_node *node); 15json_object *ipc_json_describe_node_recursive(struct sway_node *node);
14json_object *ipc_json_describe_input(struct sway_input_device *device); 16json_object *ipc_json_describe_input(struct sway_input_device *device);