diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-04-15 23:48:34 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-04-15 23:48:34 +0300 |
commit | c29f8db17fe8ffea187f4fcb8cf2eee1920844b8 (patch) | |
tree | 31a922911c8bfdce5756065a8d515e7b6e98a35e | |
parent | e91a218a47f505364221c33af622ac65f6c6afd8 (diff) |
app/eventhandler: Use de-activate request
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-rw-r--r-- | app/eventhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/eventhandler.cpp b/app/eventhandler.cpp index e1ece21..03f0f2d 100644 --- a/app/eventhandler.cpp +++ b/app/eventhandler.cpp @@ -296,6 +296,10 @@ void EventHandler::deactivateWindow() int display_status = getDisplayStatus(); fprintf(stderr, "EventHandler::deactivateWindow(), " "display_status %d\n", display_status); + + if (shell_desktop) { + agl_shell_desktop_deactivate_app(shell_desktop, APP_ID); + } } void EventHandler::onScreenReply(const QString &ons_title, const QString &btn_name) |