19 #ifndef MIR_INPUT_VALIDATOR_H_ 20 #define MIR_INPUT_VALIDATOR_H_ 25 #include <unordered_map> 40 std::mutex state_guard;
42 std::function<void(MirEvent const&)>
const dispatch_valid_event;
44 std::unordered_map<MirInputDeviceId, EventUPtr> last_event_by_device;
48 void ensure_stream_validity_locked(std::lock_guard<std::mutex>
const& lg,
55 #endif // MIR_INPUT_VALIDATOR_H_ All things Mir.
Definition: atomic_callback.h:25
Definition: motion_event.h:143