X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2Fshell.cpp;fp=homescreen%2Fsrc%2Fshell.cpp;h=b7583c172ccb4e4929be9f7d53dcbcb5aaf0e4fb;hb=bb4c83e294f109497f504c0dd8e23143c07883d6;hp=ffb44395093fe150d69132ef7c8b1a2487bf5a7e;hpb=d4f3ddfbad7a64937f00f13ba964e18d33effbb0;p=apps%2Fhomescreen.git diff --git a/homescreen/src/shell.cpp b/homescreen/src/shell.cpp index ffb4439..b7583c1 100644 --- a/homescreen/src/shell.cpp +++ b/homescreen/src/shell.cpp @@ -50,3 +50,11 @@ void Shell::activate_app(QWindow *win, const QString &app_id) app_id.toStdString().c_str(), output); } + +void Shell::set_activate_region(struct wl_output *output, int32_t x, int32_t y, + int32_t width, int32_t height) +{ +#ifdef AGL_SHELL_SET_ACTIVATE_REGION_SINCE_VERSION + agl_shell_set_activate_region(this->shell.get(), output, x, y, width, height); +#endif +}