aboutsummaryrefslogtreecommitdiffstats
path: root/src/applist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/applist.hpp')
-rw-r--r--src/applist.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/applist.hpp b/src/applist.hpp
index 36134a2..69577d0 100644
--- a/src/applist.hpp
+++ b/src/applist.hpp
@@ -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,8 +75,8 @@ 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();