app/main: add send_event() to binding_api
[staging/windowmanager.git] / src / app.hpp
index ac2eca6..da614a0 100644 (file)
@@ -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