diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/output.h | 8 | ||||
-rw-r--r-- | include/sway/tree/root.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 6d8319bf..d72bf1b2 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -57,6 +57,12 @@ struct sway_output { | |||
57 | struct wl_event_source *repaint_timer; | 57 | struct wl_event_source *repaint_timer; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | struct sway_output_non_desktop { | ||
61 | struct wlr_output *wlr_output; | ||
62 | |||
63 | struct wl_listener destroy; | ||
64 | }; | ||
65 | |||
60 | struct sway_output *output_create(struct wlr_output *wlr_output); | 66 | struct sway_output *output_create(struct wlr_output *wlr_output); |
61 | 67 | ||
62 | void output_destroy(struct sway_output *output); | 68 | void output_destroy(struct sway_output *output); |
@@ -177,4 +183,6 @@ void handle_output_manager_test(struct wl_listener *listener, void *data); | |||
177 | void handle_output_power_manager_set_mode(struct wl_listener *listener, | 183 | void handle_output_power_manager_set_mode(struct wl_listener *listener, |
178 | void *data); | 184 | void *data); |
179 | 185 | ||
186 | struct sway_output_non_desktop *output_non_desktop_create(struct wlr_output *wlr_output); | ||
187 | |||
180 | #endif | 188 | #endif |
diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h index 5d4a2f2d..af4124a1 100644 --- a/include/sway/tree/root.h +++ b/include/sway/tree/root.h | |||
@@ -28,6 +28,7 @@ struct sway_root { | |||
28 | double width, height; | 28 | double width, height; |
29 | 29 | ||
30 | list_t *outputs; // struct sway_output | 30 | list_t *outputs; // struct sway_output |
31 | list_t *non_desktop_outputs; // struct sway_output_non_desktop | ||
31 | list_t *scratchpad; // struct sway_container | 32 | list_t *scratchpad; // struct sway_container |
32 | 33 | ||
33 | // For when there's no connected outputs | 34 | // For when there's no connected outputs |