aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
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();