diff options
author | Dave Airlie <airlied@redhat.com> | 2012-06-28 12:07:49 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-06-28 12:07:49 +0100 |
commit | 1253bcf79cafd6dd61f211db604bf669f7b98196 (patch) | |
tree | 57d549782141bdb249a4a5a919539cc83c6dace1 | |
parent | 29442541438f1fd8e5f995e6a4c885715b762e23 (diff) |
pass screen resources
-rw-r--r-- | xrandr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3254,7 +3254,7 @@ main (int argc, char **argv) printf("Providers: number : %d %d\n", providers->nproviders, providers->flags); for (j = 0; j < providers->nproviders; j++) { - XRRProviderInfo *info = XRRGetProviderInfo(dpy, providers->providers[j]); + XRRProviderInfo *info = XRRGetProviderInfo(dpy, res, providers->providers[j]); printf("Provider %d: %d %x %x %d %d %d %s\n", j, (int)providers->providers[j], info->current_role, info->allowed_roles, info->abilities, info->ncrtcs, info->noutputs, info->name); XRRFreeProviderInfo(info); } |