aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/output.h2
-rw-r--r--include/sway/tree/layout.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 22c84039..70f746dc 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -29,6 +29,8 @@ struct sway_output {
struct wl_listener damage_destroy;
struct wl_listener damage_frame;
+ struct wl_list link;
+
pid_t bg_pid;
};
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index 069a02cc..cd131056 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -31,7 +31,7 @@ struct sway_root {
struct wlr_texture *debug_tree;
- list_t *outputs;
+ struct wl_list outputs; // sway_output::link
struct {
struct wl_signal new_container;