diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-12 15:48:20 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-12 15:56:45 +0000 |
commit | 87b9d9f507885ed98d7249940218631b775d30ea (patch) | |
tree | 3550a805555956eb75e0a3ff0929e17308d893b5 /tools/virtual.c | |
parent | dda57f2e28e01ea254cb2aba9e0846b755c4175a (diff) |
intel-virtual-output: Force an output probe on initial connection to remote display
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/virtual.c')
-rw-r--r-- | tools/virtual.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index 6fa1c998..b891fd00 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -2115,7 +2115,8 @@ static int last_display_add_clones__randr(struct context *ctx) display_init_randr_hpd(display); - res = _XRRGetScreenResourcesCurrent(display->dpy, display->root); + /* Force a probe of outputs on initial connection */ + res = XRRGetScreenResources(display->dpy, display->root); if (res == NULL) return -ENOMEM; |