From bc3e348082cc496d985bfb62227fdbeb19fc6738 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Fri, 15 Jun 2018 17:32:22 +0900 Subject: Bug Fix : set source rectangle x, y is not 0 Change-Id: I1aa8e406f95094e949b6ba4e5b73bafe2baf40ff Signed-off-by: Kazumasa Mitsunari --- src/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.cpp b/src/app.cpp index fdc89fe..debbcbd 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -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(); -- cgit 1.2.3-korg