Function mir::events::map_positions¶
Defined in File event_helpers.h
Function Documentation¶
-
void mir::events::map_positions(MirEvent &event, MapPositionFunc const &func)¶
Calls the given function for all positions in the event (could be multiple in the case of touch events) and updates the local and global positions based on the returned values.