diff options
Diffstat (limited to 'src/window_manager.hpp')
-rw-r--r-- | src/window_manager.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/window_manager.hpp b/src/window_manager.hpp index 2358c5a..a820aa5 100644 --- a/src/window_manager.hpp +++ b/src/window_manager.hpp @@ -68,6 +68,17 @@ extern const char kKeyHeightMm[]; extern const char kKeyScale[]; extern const char kKeyIds[]; +typedef struct WMClientCtxt +{ + std::string name; + std::string role; + WMClientCtxt(const char *appName, const char* appRole) + { + name = appName; + role = appRole; + } +} WMClientCtxt; + struct id_allocator { unsigned next = 1; @@ -229,6 +240,7 @@ class WindowManager const char* convertRoleOldToNew(char const *role); // Do not use this function void timerHandler(); + void onApplicationTerminated(const WMClientCtxt& ctxt); private: bool pop_pending_events(); |