aboutsummaryrefslogtreecommitdiffstats
path: root/src/applist.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-10 23:21:43 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-11 09:01:10 +0900
commit17dd59f6fbc3deead5ce85006fb79aa9845bbdb4 (patch)
tree34a2982795b8ab29ba90388af5e94967249a16ca /src/applist.hpp
parentc19969f65fb1441fea3920f5ab5acae09b37397f (diff)
Remove floating surfaces when activate surface
Change-Id: Id8c4d28dfd32968cf0eb0e30cefdf9124ae134ec Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/applist.hpp')
-rw-r--r--src/applist.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/applist.hpp b/src/applist.hpp
index 23d6b5a..36134a2 100644
--- a/src/applist.hpp
+++ b/src/applist.hpp
@@ -51,11 +51,14 @@ class AppList
int countClient() const;
std::shared_ptr<WMClient> lookUpClient(const std::string &appid);
void removeSurface(unsigned surface);
- WMError popFloatingSurface(unsigned pid, unsigned *surface);
- WMError popFloatingSurface(const std::string &appid, unsigned *surface);
WMError appendRole(const std::string &appid, const std::string &role, unsigned surface);
+
+ // Floating surface & client control
void addFloatingClient(const std::string &appid, unsigned layer, const std::string &role);
void addFloatingSurface(unsigned surface, unsigned pid);
+ WMError popFloatingSurface(unsigned pid, unsigned *surface);
+ WMError popFloatingSurface(const std::string &appid, unsigned *surface);
+ void removeFloatingSurface(unsigned surface);
// Request Interface
unsigned