diff options
Diffstat (limited to 'src/applist.cpp')
-rw-r--r-- | src/applist.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/applist.cpp b/src/applist.cpp index f5634fe..99f7fe4 100644 --- a/src/applist.cpp +++ b/src/applist.cpp @@ -114,10 +114,16 @@ WMError AppList::lookUpFloatingSurface(const std::string &appid, unsigned *surfa return WMError::SUCCESS; } -void addFloatingClient(const std::string &appid, unsigned layer, const std::string &role) +void AppList::addFloatingClient(const std::string &appid, unsigned layer, const std::string &role) { } +void AppList::addFloatingSurface(unsigned surface, unsigned pid) +{ + struct FloatingSurface fsurface{surface, pid}; + this->floating_surfaces.push_back(fsurface); +} + WMError AppList::appendRole(const std::string &id, const std::string &role, unsigned surface) { WMError wm_err = WMError::NO_ENTRY; |