namespace wm {
struct id_allocator {
- constexpr static unsigned id_shift = 20;
- constexpr static unsigned id_mask = (1 << id_shift) - 1;
+ constexpr static const unsigned id_shift = 22;
+ constexpr static const unsigned id_mask = (1 << id_shift) - 1;
unsigned next = 1;
// 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