From: Kazumasa Mitsunari Date: Fri, 28 Sep 2018 08:16:11 +0000 (+0900) Subject: Fix the bug of searching Application X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=55394a6618c5809899e8fa1d4fad6659c082f559;p=apps%2Fagl-service-windowmanager.git Fix the bug of searching Application Change-Id: I7e79caa6133cda8a3c7677283cc01bf8abf6764c Signed-off-by: Kazumasa Mitsunari --- 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);