From 87b9d9f507885ed98d7249940218631b775d30ea Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 12 Feb 2014 15:48:20 +0000 Subject: intel-virtual-output: Force an output probe on initial connection to remote display Signed-off-by: Chris Wilson --- tools/virtual.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/virtual.c') 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; -- cgit v1.2.3