diff options
Diffstat (limited to 'src/applist.hpp')
-rw-r--r-- | src/applist.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/applist.hpp b/src/applist.hpp index fef4d65..9e86b83 100644 --- a/src/applist.hpp +++ b/src/applist.hpp @@ -50,14 +50,16 @@ class AppList If the WMClient should be more flexible, I think this param should be WMClient class */ void addClient(const std::string &appid, unsigned layer, - unsigned surface,const std::string &role); + unsigned surface, const std::string &role); + void addClient(const std::string &appid, unsigned layer, + const std::string& layer_name, unsigned surface, const std::string &role); void removeClient(const std::string &appid); bool contains(const std::string &appid) const; int countClient() const; std::shared_ptr<WMClient> lookUpClient(const std::string &appid); void removeSurface(unsigned surface); std::string getAppID(unsigned surface, const std::string &role, bool *found) const; - WMError appendRole(const std::string &appid, const std::string &role, unsigned surface); + WMError appendRole(const std::string &appid, const std::string &role); // Floating surface void addFloatingClient(const std::string &appid, unsigned layer, const std::string &role); |