aboutsummaryrefslogtreecommitdiffstats
path: root/src/applist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/applist.cpp')
-rw-r--r--src/applist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/applist.cpp b/src/applist.cpp
index 93c90ac..e27bd03 100644
--- a/src/applist.cpp
+++ b/src/applist.cpp
@@ -73,10 +73,10 @@ void AppList::addClient(const string &appid, unsigned layer, unsigned surface, c
this->clientDump();
}
-void AppList::addClient(const string &appid, unsigned layer, const string& layer_name, unsigned surface, const string &role)
+void AppList::addClient(const string &appid, unsigned layer, const string &role)
{
std::lock_guard<std::mutex> lock(this->mtx);
- shared_ptr<WMClient> client = std::make_shared<WMClient>(appid, layer, layer_name, surface, role);
+ shared_ptr<WMClient> client = std::make_shared<WMClient>(appid, layer, role);
this->app2client[appid] = client;
this->clientDump();
}