diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-06-05 17:56:32 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-06-06 20:11:24 -0400 |
commit | a1b5b93d299bfe129f2b3409a7f642049fcce1d6 (patch) | |
tree | 4d87f5ab8f0f18ada1fc12a4eb4ba3b5d0350527 /include/sway | |
parent | 22c1c4beb4baa369f883fb5360c40158513c8e10 (diff) | |
download | sway-a1b5b93d299bfe129f2b3409a7f642049fcce1d6.tar.xz |
Store sway_outputs so that they can be reenabled
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/ipc-json.h | 1 | ||||
-rw-r--r-- | include/sway/output.h | 1 | ||||
-rw-r--r-- | include/sway/tree/layout.h | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/ipc-json.h b/include/sway/ipc-json.h index 440e3a24..eaaa2164 100644 --- a/include/sway/ipc-json.h +++ b/include/sway/ipc-json.h @@ -6,6 +6,7 @@ json_object *ipc_json_get_version(); +json_object *ipc_json_describe_disabled_output(struct sway_output *o); json_object *ipc_json_describe_container(struct sway_container *c); json_object *ipc_json_describe_container_recursive(struct sway_container *c); json_object *ipc_json_describe_input(struct sway_input_device *device); diff --git a/include/sway/output.h b/include/sway/output.h index be19d7b2..22c84039 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -45,4 +45,5 @@ void output_damage_whole_container(struct sway_output *output, struct sway_container *output_by_name(const char *name); +void output_enable(struct sway_output *output); #endif diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h index 2e0f2abf..069a02cc 100644 --- a/include/sway/tree/layout.h +++ b/include/sway/tree/layout.h @@ -31,6 +31,8 @@ struct sway_root { struct wlr_texture *debug_tree; + list_t *outputs; + struct { struct wl_signal new_container; } events; |