From 98dab0eebc3dc0f567be3f80ab129cbcc71738db Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 13 Apr 2020 14:48:20 +0300 Subject: app: Fixes and some monior tweaks to the qml file - 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 --- app/eventhandler.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/eventhandler.h') 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 #include "hmi-debug.h" +#include +#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 m_req, m_dsp; + struct agl_shell_desktop *shell_desktop = nullptr; int m_dsp_sts = HIDING; }; #endif // HOMESCREENHANDLER_H -- cgit 1.2.3-korg