diff options
-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 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 |