fix bug
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>
Fri, 28 Sep 2018 08:08:54 +0000 (17:08 +0900)
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>
Fri, 28 Sep 2018 08:08:54 +0000 (17:08 +0900)
src/window_manager.cpp

index f53107e..59ef812 100644 (file)
@@ -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);