diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/ipc-json.h | 1 | ||||
-rw-r--r-- | include/sway/output.h | 3 | ||||
-rw-r--r-- | include/sway/tree/layout.h | 2 |
3 files changed, 6 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 @@ | |||
6 | 6 | ||
7 | json_object *ipc_json_get_version(); | 7 | json_object *ipc_json_get_version(); |
8 | 8 | ||
9 | json_object *ipc_json_describe_disabled_output(struct sway_output *o); | ||
9 | json_object *ipc_json_describe_container(struct sway_container *c); | 10 | json_object *ipc_json_describe_container(struct sway_container *c); |
10 | json_object *ipc_json_describe_container_recursive(struct sway_container *c); | 11 | json_object *ipc_json_describe_container_recursive(struct sway_container *c); |
11 | json_object *ipc_json_describe_input(struct sway_input_device *device); | 12 | 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..70f746dc 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -29,6 +29,8 @@ struct sway_output { | |||
29 | struct wl_listener damage_destroy; | 29 | struct wl_listener damage_destroy; |
30 | struct wl_listener damage_frame; | 30 | struct wl_listener damage_frame; |
31 | 31 | ||
32 | struct wl_list link; | ||
33 | |||
32 | pid_t bg_pid; | 34 | pid_t bg_pid; |
33 | }; | 35 | }; |
34 | 36 | ||
@@ -45,4 +47,5 @@ void output_damage_whole_container(struct sway_output *output, | |||
45 | 47 | ||
46 | struct sway_container *output_by_name(const char *name); | 48 | struct sway_container *output_by_name(const char *name); |
47 | 49 | ||
50 | void output_enable(struct sway_output *output); | ||
48 | #endif | 51 | #endif |
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h index 2e0f2abf..cd131056 100644 --- a/include/sway/tree/layout.h +++ b/include/sway/tree/layout.h | |||
@@ -31,6 +31,8 @@ struct sway_root { | |||
31 | 31 | ||
32 | struct wlr_texture *debug_tree; | 32 | struct wlr_texture *debug_tree; |
33 | 33 | ||
34 | struct wl_list outputs; // sway_output::link | ||
35 | |||
34 | struct { | 36 | struct { |
35 | struct wl_signal new_container; | 37 | struct wl_signal new_container; |
36 | } events; | 38 | } events; |