From 6b2e81a233050e4fa85a72eabd7fae549e07ccfb Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Fri, 28 Sep 2018 17:08:54 +0900 Subject: fix bug --- src/window_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window_manager.cpp b/src/window_manager.cpp index f53107e..59ef812 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -655,7 +655,7 @@ void WindowManager::storeSurface(const string& appid, unsigned ppid, unsigned su return (ts.dest == appid ); }); - if(elem == this->tmp_services.end()) + if(elem != this->tmp_services.end()) { // attachApp auto client = g_app_list.lookUpClient(elem->dest); -- cgit 1.2.3-korg