aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-15 17:32:22 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-15 17:32:22 +0900
commitbc3e348082cc496d985bfb62227fdbeb19fc6738 (patch)
treeef0c9b6a541f23a299b193f3321d519df6ba8331 /src/app.cpp
parent5be262935589fe009fc2e22784591ace2316ce82 (diff)
Bug Fix : set source rectangle x, y is not 0sandbox/knimitz/set_role_pid_ver
Change-Id: I1aa8e406f95094e949b6ba4e5b73bafe2baf40ff Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp2
1 files changed, 1 insertions, 1 deletions
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();