Bug Fix : set source rectangle x, y is not 0
[apps/agl-service-windowmanager.git] / src / applist.hpp
index 36134a2..b4ac9e0 100644 (file)
@@ -61,8 +61,7 @@ class AppList
     void removeFloatingSurface(unsigned surface);
 
     // Request Interface
-    unsigned
-    currentRequestNumber() const;
+    unsigned currentRequestNumber() const;
     unsigned getRequestNumber(const std::string &appid) const;
     unsigned addAllocateRequest(WMRequest req);
     /* TODO: consider, which is better WMClient or std::string appid?
@@ -76,11 +75,12 @@ class AppList
     void next();
     bool haveRequest() const;
 
-    struct WMTrigger getRequest(unsigned req_num);
-    const std::vector<struct WMAction> &getActions(unsigned req_num);
+    struct WMTrigger getRequest(unsigned req_num, bool* found);
+    const std::vector<struct WMAction> &getActions(unsigned req_num, bool* found);
 
     void clientDump();
     void reqDump();
+    void dumpFloatingSurfaces();
 
   private:
     std::vector<WMRequest> req_list;