void InteractionHost::dispatch_message(const MessageType& message, const RemoteClient& client) { cup_controller_->dispatch_message(make_client_message(message, client)); }
/** * Sends a dummy event to the specified window * Used to interrupt blocking wait call * * @XXX: Find the proper way to interrupt the blocking wait * except the obvious event polling */ void connection::send_dummy_event(xcb_window_t target, uint32_t event) const { if (target == XCB_NONE) target = root(); auto message = make_client_message(XCB_NONE, target); send_client_message(message, target, event); }