/* using std::experimental::nullopt;
using std::experimental::optional; */
+struct FloatingSurface;
+
class AppList
{
public:
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;
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