update xcanvas.input_manager_t