diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-06-06 20:10:42 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-06-06 20:11:24 -0400 |
commit | e072fbc6d98784e5610aa88251a15f64e30bbcae (patch) | |
tree | 7de104885aabb49f17739d7631ef6cd4f628e64a /include | |
parent | Address emersions comments on output re-enabling (diff) | |
download | sway-e072fbc6d98784e5610aa88251a15f64e30bbcae.tar.gz sway-e072fbc6d98784e5610aa88251a15f64e30bbcae.tar.zst sway-e072fbc6d98784e5610aa88251a15f64e30bbcae.zip |
Switch output storing from list_t to wl_list
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/output.h | 2 | ||||
-rw-r--r-- | include/sway/tree/layout.h | 2 |
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 { | |||
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 | ||
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 { | |||
31 | 31 | ||
32 | struct wlr_texture *debug_tree; | 32 | struct wlr_texture *debug_tree; |
33 | 33 | ||
34 | list_t *outputs; | 34 | struct wl_list outputs; // sway_output::link |
35 | 35 | ||
36 | struct { | 36 | struct { |
37 | struct wl_signal new_container; | 37 | struct wl_signal new_container; |