diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2019-01-25 17:19:45 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2019-01-25 17:30:32 +0900 |
commit | bcc943d5c892a918ba143bbcca64de725ebcc987 (patch) | |
tree | 5de66e76fd8b4a760e41fae9c3162edf3cda6244 | |
parent | f427515b412094b7feb09838793ce2e48118839d (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.cpp | 2 |
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 |