aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.cpp b/src/app.cpp
index da503b5..895b63a 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -1385,6 +1385,7 @@ bool App::api_set_role(char const *appid, char const *drawing_name, unsigned pid
// this surface is already created
HMI_DEBUG("wm", "surface_id is %u, layer_id is %u", surface, *lid);
+ this->controller->surfaces[surface]->set_source_rectangle(0, 0, 1080, 1488);
this->controller->layers[*lid]->add_surface(surface);
this->layout_commit();