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-01-25 17:30:32 +0900
commitbcc943d5c892a918ba143bbcca64de725ebcc987 (patch)
tree5de66e76fd8b4a760e41fae9c3162edf3cda6244
parentf427515b412094b7feb09838793ce2e48118839d (diff)
Fix window manager doesn't respond to deactivateWindow
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>
-rw-r--r--src/libwindowmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index 515fea1..a306faf 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -952,7 +952,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