From bcc943d5c892a918ba143bbcca64de725ebcc987 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Fri, 25 Jan 2019 17:19:45 +0900 Subject: 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 --- src/libwindowmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg