diff options
-rw-r--r-- | src/window_manager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp index 34115f7..746ab17 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -130,6 +130,8 @@ WindowManager::WindowManager() this->lc = std::make_shared<LayerControl>(root); + HMI_DEBUG("Layer Controller initialized"); + /* try { { @@ -166,6 +168,9 @@ int WindowManager::init() // TODO: application requests by old role, // so create role map (old, new) // Load old_role.db + LayerControlCallbacks lmcb; + lmcb.surfaceCreated = [this](unsigned surface){HMI_DEBUG("show %d", surface);}; + this->lc->init(lmcb); this->loadOldRoleDb(); // Store my context for calling callback from PolicyManager |