aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);