Code Review
/
apps
/
agl-service-windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enable functions
[apps/agl-service-windowmanager.git]
/
src
/
applist.hpp
diff --git
a/src/applist.hpp
b/src/applist.hpp
index
0f2285b
..
92310fd
100644
(file)
--- a/
src/applist.hpp
+++ b/
src/applist.hpp
@@
-30,6
+30,8
@@
namespace wm
/* using std::experimental::nullopt;
using std::experimental::optional; */
/* using std::experimental::nullopt;
using std::experimental::optional; */
+struct FloatingSurface;
+
class AppList
{
public:
class AppList
{
public:
@@
-45,6
+47,9
@@
class AppList
int countClient() const;
std::shared_ptr<WMClient> lookUpClient(const std::string &appid);
void removeSurface(unsigned surface);
int countClient() const;
std::shared_ptr<WMClient> lookUpClient(const std::string &appid);
void removeSurface(unsigned surface);
+ WMError lookUpFloatingSurface(unsigned pid, unsigned *surface);
+ WMError lookUpFloatingSurface(const std::string &appid, unsigned *surface);
+ WMError appendRole(const std::string &id, const std::string &role, unsigned surface);
// Request Interface
unsigned currentRequestNumber() const;
// Request Interface
unsigned currentRequestNumber() const;
@@
-71,6
+76,9
@@
class AppList
std::vector<WMRequest> req_list;
std::unordered_map<std::string, std::shared_ptr<WMClient>> app2client;
unsigned current_req;
std::vector<WMRequest> req_list;
std::unordered_map<std::string, std::shared_ptr<WMClient>> app2client;
unsigned current_req;
+
+ std::vector<struct FloatingSurface> floating_surfaces;
+ //std::vector<FloatingSurface> floating_clients;
};
} // namespace wm
};
} // namespace wm