Bug Fix : set source rectangle x, y is not 0
[apps/agl-service-windowmanager.git] / src / app.cpp
index fdc89fe..debbcbd 100644 (file)
@@ -1395,7 +1395,7 @@ bool App::api_set_role(char const *appid, char const *drawing_name, unsigned pid
     {
         rect.h = this->controller->output_size.h + 1 + rect.h;
     }
-    this->controller->surfaces[surface]->set_source_rectangle(rect.x, rect.y, rect.w, rect.h);
+    this->controller->surfaces[surface]->set_source_rectangle(0, 0, rect.w, rect.h);
 
     this->controller->layers[*lid]->add_surface(surface);
     this->layout_commit();