summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/eventhandler.cpp4
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)