diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.cpp | 2 |
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(); |