aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 67687af..20f04e5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -64,6 +64,9 @@ void init_layout(struct conn &c) {
struct genivi::screen &s = *c.c->screens.begin()->second;
auto &layers = c.c->layers;
+ // XXX: Write output dimensions to ivi controller...
+ c.c->output_size = genivi::size{uint32_t(o.width), uint32_t(o.height)};
+
// Setup our dummy scene...
if (layers.find(100) == layers.end()) {
logdebug("Creating layer 100 with output dimensions (%ux%u)", o.width, o.height);