summaryrefslogtreecommitdiffstats
path: root/app/eventhandler.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-04-13 14:48:20 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-04-21 22:53:13 +0300
commit98dab0eebc3dc0f567be3f80ab129cbcc71738db (patch)
treea4dad9bda9fd6d3d9819ba920013bf0cf835496c /app/eventhandler.h
parent9e76cf1b66b40a0e502c667dbbf53164261956b5 (diff)
app: Fixes and some monior tweaks to the qml filesandbox/mvlad/agl-compositor
- app.pro: Remove depends on windowmanager and homescreen when building - app: Fake an event - adjust the window size - add the app state events Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'app/eventhandler.h')
-rw-r--r--app/eventhandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/eventhandler.h b/app/eventhandler.h
index 1fe910b..e4fbb6b 100644
--- a/app/eventhandler.h
+++ b/app/eventhandler.h
@@ -23,6 +23,9 @@
#include <QPair>
#include "hmi-debug.h"
+#include <wayland-client.h>
+#include "wayland-agl-shell-desktop-client-protocol.h"
+
#define APP_ID "onscreenapp"
class QQmlApplicationEngine;
@@ -61,6 +64,7 @@ private:
void activateWindow(const char *role, const char *area = "normal.full");
QPair<QString, QString> m_req, m_dsp;
+ struct agl_shell_desktop *shell_desktop = nullptr;
int m_dsp_sts = HIDING;
};
#endif // HOMESCREENHANDLER_H