Updated io_handle in xlib to include update_mouse_variables.