summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-23 12:41:25 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitd90e97b2838053165eaf6a21906991d4c8faaac7 (patch)
tree41a55cebb13bfecfddbb9f95466ea6448b4ea673 /src/main.cpp
parentd34b46aae11efe3f5060067d1f2ee3ed3eac2b7e (diff)
wayland: set surfaces fullscreen when configured.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
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);