diff options
Diffstat (limited to 'src/window_manager.cpp')
-rw-r--r-- | src/window_manager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp index 24b6f30..42930dc 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -657,6 +657,10 @@ void WindowManager::startTransitionWrapper(std::vector<WMAction> &actions) { bool found; auto const &surface_id = this->lookup_id(act.role.c_str()); + if(surface_id == nullopt) + { + goto proc_remove_request; + } std::string appid = g_app_list.getAppID(*surface_id, act.role, &found); if (!found) { |