xrandr: make providers a first-class citizen
authorAaron Plattner <aplattner@nvidia.com>
Tue, 5 Feb 2013 00:05:11 +0000 (16:05 -0800)
committerAaron Plattner <aplattner@nvidia.com>
Wed, 6 Feb 2013 17:58:40 +0000 (09:58 -0800)
commita93b77b15fa2463c7fd06c6898b9c9f737c3ae8a
tree88370d06cbb5dc070570ed9fd231ef7affae1da0
parent8ce9d1fa48a7556e9aee090e5d72566dbb9a32f8
xrandr: make providers a first-class citizen

Create a struct _provider to match the existing output, crtc, etc. objects.
Build that from a new get_providers() function.  Use that to populate the list
when querying the providers.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
xrandr.c