modify rect size in set role
[apps/agl-service-windowmanager.git] / src / app.cpp
index da503b5..895b63a 100644 (file)
@@ -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();