summaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-29 14:55:35 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-04 16:53:59 +0200
commit38da977e18f4b9e9a295119b8bac194a8a87a498 (patch)
tree3da50543ce6bd03d40cb7427f3ab55cf3e358ad7 /src/app.hpp
parent7a5d735041a1390fffda46ef451d70859137a808 (diff)
app/main: add send_event() to binding_api
* Preliminary event support - wrong names, likely wrong implementation Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app.hpp b/src/app.hpp
index ac2eca6..da614a0 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -155,6 +155,12 @@ struct App {
// Events from the compositor we are interested in
void surface_created(uint32_t surface_id);
void surface_removed(uint32_t surface_id);
+
+ // TMC WM Events to clients
+ void emit_activated(char const *label);
+ void emit_deactivated(char const *label);
+ void emit_syncdraw(char const *label);
+ void emit_visible(char const *label, bool is_visible);
};
} // namespace wm