X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwm_client.hpp;fp=src%2Fwm_client.hpp;h=17d22214831273dc9ba7b4d0076911a75478b61f;hb=3a090e43fdeb3c86f253c39a23d35358680565f5;hp=3ffa7863661f43b7b09c6fe628987f95f6d98307;hpb=ef03209fb7961d83daa30af74689acaa7a3bbbc2;p=apps%2Fagl-service-windowmanager.git diff --git a/src/wm_client.hpp b/src/wm_client.hpp index 3ffa786..17d2221 100644 --- a/src/wm_client.hpp +++ b/src/wm_client.hpp @@ -48,11 +48,14 @@ class WMClient unsigned layerID() const; unsigned surfaceID() const; void registerSurface(unsigned surface); + void activate(); + void deactivate(); std::string area() const {return this->app_area;}; void setArea(const std::string area) {this->app_area = area;} WMError addSurface(unsigned surface); bool isSourceSizeSet(); void setSurfaceSizeCorrectly(); + bool isActive() { return this->is_active;} bool removeSurfaceIfExist(unsigned surface); bool subscribe(afb_req_t req, const std::string &event_name); @@ -68,6 +71,7 @@ class WMClient std::string id; unsigned layer; bool is_source_set; + bool is_active; std::string main_role; std::string app_area; unsigned surface; // currently, main application has only one surface.