summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ivi-compositor.h9
-rw-r--r--src/main.c1
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 50e516b..ff8e20d 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -106,6 +106,14 @@ struct ivi_compositor {
struct ivi_surface;
+enum ivi_output_type {
+ OUTPUT_LOCAL,
+ OUTPUT_REMOTE,
+ /* same as remote but we need to signal the transmitter plug-in
+ * for the surfaces to have to be forwarded to those remoted outputs */
+ OUTPUT_WALTHAM,
+};
+
struct ivi_output {
struct wl_list link; /* ivi_compositor.outputs */
struct ivi_compositor *ivi;
@@ -144,6 +152,7 @@ struct ivi_output {
struct weston_head *add[8];
char *app_id;
+ enum ivi_output_type type;
};
enum ivi_surface_role {
diff --git a/src/main.c b/src/main.c
index 338ec6a..e00cf12 100644
--- a/src/main.c
+++ b/src/main.c
@@ -748,6 +748,7 @@ ivi_enable_remote_outputs(struct ivi_compositor *ivi)
ivi_output->ivi = ivi;
ivi_output->name = _name;
ivi_output->config = remote_section;
+ ivi_output->type = OUTPUT_REMOTE;
if (remote_output_init(ivi_output, ivi->compositor,
remote_section, ivi->remoting_api)) {