aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-09-28 17:08:54 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-09-28 17:08:54 +0900
commit6b2e81a233050e4fa85a72eabd7fae549e07ccfb (patch)
tree00b30f91142c5e337eb682dcb38357f89e2de8c6
parent98472cfd1ecbc5667d8383c8ef1e1a8d538d9fc1 (diff)
fix bug
-rw-r--r--src/window_manager.cpp2
1 files changed, 1 insertions, 1 deletions
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);