diff options
Diffstat (limited to 'src/window_manager.cpp')
-rw-r--r-- | src/window_manager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp index acf3b76..6818438 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -172,6 +172,9 @@ int WindowManager::init() lmcb.surfaceCreated = [&](unsigned pid, unsigned surface){ this->surface_created(surface); }; + lmcb.surfaceDestroyed = [&](unsigned surface){ + this->surface_removed(surface); + }; this->lc->init(lmcb); this->loadOldRoleDb(); |