diff options
author | emersion <contact@emersion.fr> | 2018-06-07 19:26:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 19:26:55 +0100 |
commit | 2e289831ee3198f36e2c02bd4542fa4f6646a81b (patch) | |
tree | 7de104885aabb49f17739d7631ef6cd4f628e64a /include/sway/output.h | |
parent | Merge pull request #2116 from RedSoxFan/fix-2113 (diff) | |
parent | Switch output storing from list_t to wl_list (diff) | |
download | sway-2e289831ee3198f36e2c02bd4542fa4f6646a81b.tar.gz sway-2e289831ee3198f36e2c02bd4542fa4f6646a81b.tar.zst sway-2e289831ee3198f36e2c02bd4542fa4f6646a81b.zip |
Merge pull request #2108 from RedSoxFan/store-outputs
Allow outputs to be re-enabled
Diffstat (limited to 'include/sway/output.h')
-rw-r--r-- | include/sway/output.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |