aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'homescreen/src/shell.h')
-rw-r--r--homescreen/src/shell.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/homescreen/src/shell.h b/homescreen/src/shell.h
index a6e3f7e..51990d8 100644
--- a/homescreen/src/shell.h
+++ b/homescreen/src/shell.h
@@ -41,16 +41,20 @@
class Shell : public QObject
{
- Q_OBJECT
+ Q_OBJECT
public:
- std::shared_ptr<struct agl_shell> shell;
-
- Shell(std::shared_ptr<struct agl_shell> shell, QObject *parent = nullptr) :
- QObject(parent), shell(shell)
- {}
-public slots:
- void activate_app(QWindow *win, const QString &app_id);
+ std::shared_ptr<struct agl_shell> shell;
+
+ Shell(std::shared_ptr<struct agl_shell> shell, QObject *parent = nullptr) :
+ QObject(parent), shell(shell)
+ {}
+ public slots:
+ void activate_app(QWindow *win, const QString &app_id);
+ void set_activate_region(struct wl_output *output, int32_t x, int32_t y,
+ int32_t width, int32_t height);
+private:
+ struct wl_region *m_region = nullptr;
};
#endif // SHELLHANDLER_H