Add the fail-safe process for the configuration file
[apps/agl-service-windowmanager-2017.git] / src / wayland.cpp
index 26bf158..4a723e5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 Mentor Graphics Development (Deutschland) GmbH
+ * Copyright (c) 2017 TOYOTA MOTOR CORPORATION
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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<struct layer>(id, this);
       l->clear_surfaces();