From: Yuta Doi Date: Thu, 9 Nov 2017 05:25:57 +0000 (+0900) Subject: Fix the error log on windowmanager initialization X-Git-Tag: eel_4.99.3~4 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=2b97202f86c492be91de83a93b513384871f321d;p=apps%2Fagl-service-windowmanager.git 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 --- 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();