Rename stuff to be more consistent, and pass correct function signature
to wl_event_loop_add_idle.