Code Review
/
apps
/
onscreenapp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e91a218
)
app/eventhandler: Use de-activate request
author
Marius Vlad
<marius.vlad@collabora.com>
Wed, 15 Apr 2020 20:48:34 +0000
(23:48 +0300)
committer
Marius Vlad
<marius.vlad@collabora.com>
Wed, 15 Apr 2020 20:48:34 +0000
(23:48 +0300)
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
app/eventhandler.cpp
patch
|
blob
|
history
diff --git
a/app/eventhandler.cpp
b/app/eventhandler.cpp
index
e1ece21
..
03f0f2d
100644
(file)
--- 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)