summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-02-13 12:54:54 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-02-13 12:54:54 +0000
commitc8371390e5c61c633e364a014571f33453f89067 (patch)
tree8e3448cbf7dc26f7199774769179bbd636a63532
parente88fb8522d335b9a7fb723ae5656dc9b2e7850c7 (diff)
parentbcc943d5c892a918ba143bbcca64de725ebcc987 (diff)
Merge "Fix window manager doesn't respond to deactivateWindow"
-rw-r--r--src/libwindowmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index 22bec4f..b9a1e12 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -943,7 +943,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