diff options
author | 2018-06-10 18:39:31 +0900 | |
---|---|---|
committer | 2018-06-11 09:01:04 +0900 | |
commit | 0d9ebe5963293b0bb3c6975d53a48076d5fb3eb8 (patch) | |
tree | c8a5de188f621147e5ea6b541b9f4b7f44216ceb /src/applist.cpp | |
parent | ee78c7d1cb676f997dd479720853e9a482a270c8 (diff) |
Add addFloatingSurface
Change-Id: I0f9ec4eb910a727683de50fd26491ac018f135bc
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
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; |