Store sway_outputs so that they can be reenabled

This commit is contained in:
Brian Ashworth 2018-06-05 17:56:32 -04:00
parent 22c1c4beb4
commit a1b5b93d29
11 changed files with 118 additions and 33 deletions

View file

@ -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);

View file

@ -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

View file

@ -31,6 +31,8 @@ struct sway_root {
struct wlr_texture *debug_tree;
list_t *outputs;
struct {
struct wl_signal new_container;
} events;