(x_set_cursor_type): Set cursor_width field.