aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'homescreen/src/shell.cpp')
-rw-r--r--homescreen/src/shell.cpp8
1 files changed, 8 insertions, 0 deletions
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
+}