def get_outputs(display):
    """Get collection of display outputs

    :returns: array of display output objects
    """
    root = display.screen().root
    resources = root.xrandr_get_screen_resources()._data
    primaryOutput = root.xrandr_get_output_primary().output
    outputs = []
    for output in resources['outputs']:
        _data = display.xrandr_get_output_info(output, resources[
            'config_timestamp'])._data
        x = y = 0
        if _data['crtc']:
            crtcInfo = display.xrandr_get_crtc_info(_data['crtc'],
                resources['config_timestamp'])
            x = crtcInfo.x
            y = crtcInfo.y
        outputs.append({'isPrimary': output == primaryOutput, 'name': _data
            ['name'], 'connected': not _data['connection'], 'dissabled': 
            not _data['crtc'], 'x': x, 'y': y})
    return outputs
