From 2b97202f86c492be91de83a93b513384871f321d Mon Sep 17 00:00:00 2001 From: Yuta Doi Date: Thu, 9 Nov 2017 14:25:57 +0900 Subject: [PATCH] Fix the error log on windowmanager initialization Fix the bug which is that windowmanager outputs the error log on the initialization. Bug-AGL: SPEC-925 Change-Id: I87b20cc7840ef7241ca56ecab440f52333b1753c Signed-off-by: Yuta Doi --- src/wayland.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland.cpp b/src/wayland.cpp index bb34a4c..4a723e5 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -256,7 +256,7 @@ void controller::controller_screen(uint32_t id, void controller::controller_layer(uint32_t id) { HMI_DEBUG("wm", "compositor::controller @ %p layer %u (%x)", this->proxy.get(), id, id); if (this->layers.find(id) != this->layers.end()) { - HMI_ERROR("wm", "Someone created a layer without asking US! (%d)", id); + HMI_DEBUG("wm", "WindowManager has created layer %u (%x) already", id, id); } else { auto &l = this->layers[id] = std::make_unique(id, this); l->clear_surfaces(); -- 2.16.6