Introduce wlr_input_mapper
A prerequisite for !3974, this helper allows to perform absolute→layout coordinate conversion and apply position constraints.
Questions:
- Should
wlr_input_device
be used here? Can be avoided with the cost of some inconvenience. - Should
wlr_box
constraint be replaced withpixman_region32_t
? (Won't probably help with pointer constraints, though.)
Edited by Kirill Primak