summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2019-01-25 17:19:45 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2019-02-19 09:20:58 +0000
commit3efe8ad3c5896abf926249026e6ace00bfcd9288 (patch)
tree3362f8d44d54425a4b5cc0daf54bb52664736d8f
parent887c8b9738c2a92833090d321c6873d924cb4441 (diff)
Fix window manager doesn't respond to deactivateWindowguppy_7.0.1guppy/7.0.17.0.1
Due to input nullptr into the function internally, window manager service doesn't do anything. This patch fix the issue. Bug-AGL : SPEC-2129 Change-Id: I9ee41468730099709c605256b2401c0af44925e2 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp> (cherry picked from commit bcc943d5c892a918ba143bbcca64de725ebcc987)
-rw-r--r--src/libwindowmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index 2a9eb16..8e523b2 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -1019,7 +1019,7 @@ int LibWindowmanager::deactivateWindow(json_object *object) {
int LibWindowmanager::deactivateWindow(const char* role) {
json_object* object = json_object_new_object();
json_object_object_add(object, kKeyDrawingName, json_object_new_string(role));
- return this->d->deactivateWindow(nullptr);
+ return this->d->deactivateWindow(object);
}
// This API is deprecated, please use new API