summaryrefslogtreecommitdiff
path: root/tools/virtual.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-02-12 15:48:20 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-02-12 15:56:45 +0000
commit87b9d9f507885ed98d7249940218631b775d30ea (patch)
tree3550a805555956eb75e0a3ff0929e17308d893b5 /tools/virtual.c
parentdda57f2e28e01ea254cb2aba9e0846b755c4175a (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.c3
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;