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 <yuta-d@witz-inc.co.jp>
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<struct layer>(id, this);
l->clear_surfaces();